velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r675625 - /velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/XmlTool.java
Date Thu, 10 Jul 2008 16:05:46 GMT
Author: nbubna
Date: Thu Jul 10 09:05:45 2008
New Revision: 675625

URL: http://svn.apache.org/viewvc?rev=675625&view=rev
Log:
correct examples in class javadoc

Modified:
    velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/XmlTool.java

Modified: velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/XmlTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/XmlTool.java?rev=675625&r1=675624&r2=675625&view=diff
==============================================================================
--- velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/XmlTool.java (original)
+++ velocity/tools/trunk/src/main/java/org/apache/velocity/tools/generic/XmlTool.java Thu
Jul 10 09:05:45 2008
@@ -49,9 +49,9 @@
  *   <foo><bar>woogie</bar><a name="test"/></foo>
  *
  * Template:
- *   $doc.foo.bar
- *   $doc.find('a')
- *   $doc.a.name
+ *   $foo.bar.text
+ *   $foo.find('a')
+ *   $foo.a.name
  *
  * Output:
  *   woogie
@@ -62,7 +62,7 @@
  * <tools>
  *   <toolbox scope="application">
  *     <tool class="org.apache.velocity.tools.generic.XmlTool"
- *              key="doc" file="doc.xml"/>
+ *              key="foo" file="doc.xml"/>
  *   </toolbox>
  * </tools>
  * </pre></p>



Mime
View raw message