#set( $relative-path = "." ) #set( $body-bg = '#ffffff' ) #set( $body-fg = '#000000' ) #set( $body-link = '#525D76' ) #set( $banner-bg = '#525D76') #set( $banner-fg = '#ffffff') #set( $sub-banner-bg = '#828DA6') #set( $sub-banner-fg = '#ffffff') #set( $table-th-bg = '#039acc') #set( $table-td-bg = '#a0ddf0') #set( $source-color = '#023264') #match( "document" ) #set( $project = $node.selectSingleNode("document('xdocs/project.xml')/project" ) ) $project.title - $node.properties.title #foreach( $n in $node.properties.selectNodes("author") ) #end ## PAGE HEADER ## HEADER SEPARATOR ## LEFT SIDE NAVIGATION
## JAKARTA LOGO The Jakarta Project #if( $project.logo ) #set( $alt = $project.logo ) #set( $home = $project.attribute("href") ) #set( $src = $project.logo.attribute( "href" ) ) ## PROJECT LOGO #if ( $src.startsWith("http") ) $alt #else $alt #end #end

$context.applyTemplates( $project, "body/menu" ) $context.applyTemplates("body/section") $context.applyTemplates("body/glossary")

Copyright © 1999-2001, Apache Software Foundation
#end #* * Process a menu for the navigation bar *# #match( "menu" )

$attrib.name

#end #* * Process a menu item for the navigation bar *# #match( "item" ) #if( $attrib.href.startsWith("http") )
  • $attrib.name
  • #else
  • $attrib.name
  • #end #end #* * process a documentation section *# #match( "section" )
    $attrib.name
    $context.applyTemplates("*")
    #end #match( "subsection" )
    $attrib.name
    $context.applyTemplates("*")
    #end #match( "source" )
    $toolbox.htmlescape.getText( $node.value() )
    #end #match("table") $context.applyTemplates("*")
    #end #match("tr") $context.applyTemplates("*") #end #match( "td" ) #set ($colspan = $attrib.colspan) #set ($rowspan = $attrib.rowspan) $node.copy( $node.children() ) #end #match( "th" ) #set ($colspan = $attrib.colspan ) #set ($rowspan = $attrib.rowspan ) $node.copy( $node.children()) #end ## ----------------------------------------------------- ## G L O S S A R Y ## ----------------------------------------------------- #match ( "glossary" ) $context.applyTemplates("entries/entry") #end #match ("entry") $context.node.name
    $context.node.definition

    #end ## ----------------------------------------------------- ## D E F A U L T C O P Y ## ----------------------------------------------------- #match("*") $node.copy() #end