## Defined variables
#set ($bodybg = "#ffffff")
#set ($bodyfg = "#000000")
#set ($bodylink = "#525D76")
#set ($titlebg = "#FFFFFF")
#set ($titlefg = "#2222AA")
## #set ($bannerbg = "#525D76")
#set ($bannerbg = "#FFFFFF")
#set ($bannerfg = "#2222AA")
#set ($subbannerbg = "#828DA6")
#set ($subbannerfg = "#ffffff")
#set ($tablethbg = "#039acc")
#set ($tabletdbg = "#a0ddf0")
#document()
## This is where the macro's live
#macro ( table $table)
|
#makeNavigationBar()
|
#foreach ( $item in $root.getChild("body").getChildren() )
#if ($item.getName().equals("img"))
#image ($item)
#elseif ($item.getName().equals("section"))
#section ($item)
#elseif ($item.getName().equals("source"))
#source ($item)
#elseif ($item.getName().equals("table"))
#table ($item)
#elseif ($item.getName().equals("subsection"))
#subsection ($item)
#else
$item
#end
#end
## #if ($root.getChild("body").getChild("titleSection"))
## #set ($titleSection = $root.getChild("body").getChild("titleSection"))
## #titleSection($titleSection)
## #end
##
## #set ($allSections = $root.getChild("body").getChildren("section"))
## #foreach ( $section in $allSections )
## #section ($section)
## #end
|
|
#end