#set($localimg = $navigation.SelectSingleNode("project/localimage"))
#if($localimg)
#end
#set($allSections = $root.SelectSingleNode("body").SelectNodes("section"))
#if(!$disabletoc)
#buildtoc($allSections)
#end
#set($tabCounter = 0) #set($disabletoc = $root.SelectSingleNode("properties/notoc")) #macro(buildtoc $allSections) #if($allSections.Count >= 2)
$elem.InnerXml#else #if($format == "cs") $cs.FormatCode( $elem.InnerText ) #elseif($format == "html") $html.FormatCode( $elem.InnerText ) #elseif($format == "js") $js.FormatCode( $elem.InnerText ) #elseif($format == "tsql") $tsql.FormatCode( $elem.InnerText ) #elseif($format == "vb") $vb.FormatCode( $elem.InnerText ) #end #end #else #if($elem.Name == "section") #set($level = $level + 1) #if($elem.GetAttribute("id") != "") #end #elseif($elem.NodeType != "Text") #if($elem.HasAttributes) <$elem.Name #foreach($attr in $elem.Attributes)${attr.Name}="${attr.Value}" #end>#else <$elem.Name>#end #end #if($elem.ChildNodes.Count > 0)#recursecontent($elem $level)#else$elem.InnerText#end #if($elem.Name == "section")#set($level = $level - 1)#elseif($elem.NodeType != "Text")$elem.Name>#end #end #end #end ## ## Macro createGroup(group) ## #macro(createGroup $group) #set($groupType = $group.GetAttribute("type")) #set($menus = $group.selectNodes("menu"))