#set ( $links = $_XPathTool.selectNodes($contentRoot, "system-data-structure/link") )
  • #set ( $count = 0 ) #foreach ( $link in $links ) #if ( $link.getChild("ilink").getChild("path").value == "/" ) #set ( $linkpath = $link.getChild("elink").value ) #else #set ( $linkpath = $link.getChild("ilink").path + ".html" ) #end #set ( $linktitle = $link.getChild("linktitle").value ) #if ( $count > 0 )

  • #end $count = $_MathTool.add($count, 1)
  • ${linktitle}
  • #end