## ## Content Stylesheet for Site ## ## Defined variables ## ## ## Start and end the processing ## #document ## ## This is where the macros live ## #macro ( relativise $elem ) #if ($elem.getAttribute("href")) #set ($href = $elem.getAttributeValue("href")) #if ($href.startsWith("/")) #set ($elem = $elem.setAttribute("href", "$relativePath$href")) #end #end #if ($elem.getAttribute("src")) #set ($href = $elem.getAttributeValue("src")) #if ($href.startsWith("/")) #set ($elem = $elem.setAttribute("src", "$relativePath$href")) #end #end #end ## ## #macro ( color_table $table ) #set ($table = $table.setAttribute("class", "colortable")) #foreach ( $tw in $treeWalk.allElements($table) ) #if ($tw.getName().equals("trh")) #set ($tw = $tw.setAttribute("align", "left")) #set ($tw = $tw.setName("th")) #end #end #if (! $table.getAttributeValue("width")) #set ($table = $table.setAttribute("width", "100%")) #end $table #end ## #macro ( make_toc ) #set ($allSections = $root.getChild("body").getChildren("section"))
$escape.getText($value.getText())
$project.getChild('Name').getText() | |||
---|---|---|---|
Product Name | Versions | ECCN | Controlled Source |
$product.getChild('Name').getText() | #end$version.getChild('Names').getText() | $version.getChild('ECCN').getText() | $sources |