SharpSvn - Subversion for .Net - Table of Content
load('WebTOC.xml'); $xpath = new DOMXPath($toc); $nodes = $xpath->query("/HelpTOC/*"); foreach($nodes as $node) { $id = $node->getAttribute("Id"); $url = $node->getAttribute("Url"); $title = $node->getAttribute("Title"); if (empty($url)) { $url = "#"; $target = ""; } else { $target = " target=\"TopicContent\""; } if ($node->hasChildNodes()) { ?>