## Licensed to the Apache Software Foundation (ASF) under one ## or more contributor license agreements. See the NOTICE file ## distributed with this work for additional information ## regarding copyright ownership. The ASF licenses this file ## to you under the Apache License, Version 2.0 (the ## "License"); you may not use this file except in compliance ## with the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, ## software distributed under the License is distributed on an ## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ## KIND, either express or implied. See the License for the ## specific language governing permissions and limitations ## under the License. ## Defined variables #set ($bodybg = "#ffffff") #set ($bodyfg = "#000000") #set ($bodylink = "#525D76") #set ($bannerbg = "#525D76") #set ($bannerfg = "#ffffff") #set ($tablethbg = "#039acc") #set ($tabletdbg = "#a0ddf0") #document() ## This is where the macro's live #macro ( makeProject ) ## set ($menus = $project.getChild("body").getChildren("menu")) #set ($menus = $xpath.applyTo("body/menu", $project)) #foreach ( $menu in $menus ) $menu.getAttributeValue("name") #end #end #macro ( image $value ) #if ($value.getAttributeValue("width")) #set ($width=$value.getAttributeValue("width")) #end #if ($value.getAttributeValue("height")) #set ($height=$value.getAttributeValue("height")) #end #if ($value.getAttributeValue("align")) #set ($align=$value.getAttributeValue("align")) #end #end #macro ( projectanchor $name $value ) $name #end #macro (document) Apache Tashi - $root.getChild("properties").getChild("title").getText()
Tashi: Your Faithful Cluster Manager
#makeProject() ##

$root.getChild("properties").getChild("title").getText()

## set ($allSections = $root.getChild("body").getChildren("section")) #set ($allSections = $xpath.applyTo("body/section", $root)) #foreach ( $section in $allSections )

$section.getAttribute("name").getValue()

#foreach ( $item in $section.getChildren() ) #if ($item.getName().equals("img")) #image ($item) #else $xmlout.outputString($item) #end #end #end

Disclaimer

#include( "disclaimer.txt" )

#end