You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by he...@apache.org on 2006/09/19 22:47:16 UTC
svn commit: r447961 [2/2] - in /jakarta/velocity/engine/trunk: ./ build/
convert/ examples/anakia/xdocs/ examples/anakia/xdocs/stylesheets/
examples/app_example1/ examples/app_example2/ examples/event_example/
examples/logger_example/ examples/xmlapp_e...
Modified: jakarta/velocity/engine/trunk/xdocs/stylesheets/wiki.vsl
URL: http://svn.apache.org/viewvc/jakarta/velocity/engine/trunk/xdocs/stylesheets/wiki.vsl?view=diff&rev=447961&r1=447960&r2=447961
==============================================================================
--- jakarta/velocity/engine/trunk/xdocs/stylesheets/wiki.vsl (original)
+++ jakarta/velocity/engine/trunk/xdocs/stylesheets/wiki.vsl Tue Sep 19 13:47:13 2006
@@ -22,13 +22,13 @@
## END THE PROCESSING
-##################################################################################################
+## ################################################################################################
#macro ( image $value )$value.getAttributeValue("src")#end
-##################################################################################################
+## ################################################################################################
#macro ( imageurl $value )$value#end
-##################################################################################################
+## ################################################################################################
## implements simple hierarchal tables
## Doesn't really work right now
@@ -42,61 +42,61 @@
-##################################################################################################
+## ################################################################################################
#macro ( source $value)
{{{$escape.getText($value.getText())
}}}
#end
-##################################################################################################
+## ################################################################################################
#macro ( code $value)
{{{$escape.getText($value.getText())}}}
#end
-##################################################################################################
+## ################################################################################################
#macro ( subsection $subsection)
=== $subsection.getAttributeValue("name") ===
#parsecontent($subsection.getChildren())
#end
-##################################################################################################
+## ################################################################################################
#macro ( section $section)
== $section.getAttributeValue("name") ==
#parsecontent($section.getChildren())
#end
-##################################################################################################
+## ################################################################################################
#macro ( paragraph $node)
#parsecontent($node.content)
#end
-##################################################################################################
+## ################################################################################################
#macro ( font $node)#parsecontent($node.content)#end
-##################################################################################################
+## ################################################################################################
#macro ( link $node)[$!node.getAttribute("href").Value$!node.getAttribute("HREF").Value $node.Text]#end
-##################################################################################################
+## ################################################################################################
#macro ( unorderedlist $node)
#foreach ( $items in $node.getChildren())
#if ($items.getName().equalsIgnoreCase("LI"))* #parsecontent($items.content)#end#end#end
-##################################################################################################
+## ################################################################################################
#macro ( orderedlist $node)
#foreach ( $items in $node.getChildren())
#if ($items.getName().equalsIgnoreCase("LI"))# #parsecontent($items.content)#end#end#end
-##################################################################################################
+## ################################################################################################
#macro (parsecontent $children)#foreach ( $items in $children )#if ($items.getName().equalsIgnoreCase("img"))#image ($items)#elseif ($items.getName().equalsIgnoreCase("code"))#code ($items) #elseif ($items.getName().equalsIgnoreCase("section"))#section ($items)#elseif ($items.getName().equalsIgnoreCase("subsection"))#subsection ($items)#elseif ($items.getName().equalsIgnoreCase("source"))#source ($items)#elseif ($items.getName().equalsIgnoreCase("table"))#table ($items)#elseif ($items.getName().equalsIgnoreCase("P"))#paragraph($items)#elseif ($items.getName().equalsIgnoreCase("UL"))#unorderedlist($items)#elseif ($items.getName().equalsIgnoreCase("OL"))#orderedlist($items)#elseif ($items.getName().equalsIgnoreCase("DIV"))#parsecontent($items.content)#elseif ($items.getName().equalsIgnoreCase("FONT"))#font($items)#elseif ($items.getName().equalsIgnoreCase("A"))#link($items)#elseif ($items.getName().equalsIgnoreCase("I"))<I>#parsecontent($items.content)</I>#elseif ($items.getNa
me().equalsIgnoreCase("EM"))<EM>#parsecontent($items.content)</EM>#elseif ($items.content)#parsecontent($items.content)#else#**#$items.Text#end#end#end
-##################################################################################################
+## ################################################################################################
#macro (getProjectImage)#imageurl("http://jakarta.apache.org/images/jakarta-logo.gif")#end
-##################################################################################################
+## ################################################################################################
#macro (document)
## PAGE HEADER
@@ -107,6 +107,6 @@
#set ($allSections = $root.getChild("body").getChildren("section"))#foreach ( $section in $allSections )#section ($section)#end
## PAGE FOOTER
-##----
+## ----
#end
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org