#* * DVSL Stylesheet to format the Ant Task documentation. *# #set( $relative-path = "../../" ) #if (false) #set( $body-bg = '#ffffff' ) #set( $body-fg = '#000000' ) #set( $body-link = '#525D76' ) ##set( $banner-bg = '#EEEEEE') #set( $banner-fg = '#000000') #set( $sub-banner-bg = '#828DA6') #set( $sub-banner-fg = '#ffffff') ##set( $table-th-bg = '#FFEEEE') ##set( $table-td-bg = '#FFEEEE') ##set( $source-color = '#CCFFFF') #set( $table-th-bg = '#EEEEEE') #set( $table-td-bg = '#EEEEEE') #set( $banner-bg = '#a0ddf0') ##set( $banner-bg = '#525D76') ##set( $table-th-bg = '#039acc') ##set( $table-td-bg = '#a0ddf0') #set( $source-color = '#023264') #end #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 = '#cccccc') #set( $table-td-bg = '#eeeeee') #set( $source-color = '#023264') #set( $source-font-size = '+0') ## Double quote for convenience #set ($qq = '"') ## Macro to output argument if test evaluates to true #macro(ifset $test $output) #if ( $test )$output#end #end ## Macro to capitalize a word making the first letter upper case #macro(capitalize $word) $word.substring(0,1).toUpperCase()$word.substring(1) #end #match( "task" ) #set( $project = $node.selectSingleNode("document('xdocs/stylesheets/project.xml')/project" ) ) #if ($node.name().equals("task")) #set( $title = "#capitalize($attrib.name) Task" ) #set( $summary = $node.short-description ) #end
$node.value().trim() |
#* *#$context.applyTemplates("*") |
|
#* *#$context.applyTemplates("*") |
$attrib.name ($attrib.type) |
$node.description.toString().trim() #* *#$context.applyTemplates("*") |
|
$attrib.name
#if ( $attrib.anchor ) #set( $anchor = $attrib.anchor ) #else #set( $anchor = $attrib.name ) #end $attrib.name |
$context.applyTemplates("*") |
#if ( $attrib.anchor ) #set( $anchor = $attrib.anchor ) #else #set( $anchor = $attrib.name ) #end $attrib.name |
$context.applyTemplates("*") |
$toolbox.htmlescape.getText( $node.value() ) |
||