You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jo...@apache.org on 2001/03/15 03:44:11 UTC

cvs commit: jakarta-velocity/xdocs anakia.xml

jon         01/03/14 18:44:11

  Modified:    xdocs    anakia.xml
  Log:
  added more documentation about the new Output class
  
  Revision  Changes    Path
  1.9       +17 -5     jakarta-velocity/xdocs/anakia.xml
  
  Index: anakia.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/xdocs/anakia.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- anakia.xml	2001/03/04 21:24:15	1.8
  +++ anakia.xml	2001/03/15 02:44:11	1.9
  @@ -261,11 +261,23 @@
           </tr>
           <tr>
               <td>$xmlout</td>
  -            <td>This contains an instance of the JDOM XMLOutputter()
  -            object. This allows you to easily create String output out
  -            of your JDOM element objects. $xmlout.outputString(Element).
  -            Again, please look at the examples for more information on
  -            how to use this object.</td>
  +            <td>This contains an class which extends the instance of the
  +            JDOM XMLOutputter() object. This allows you to easily create
  +            String output out of your JDOM element objects.
  +            $xmlout.outputString(Element). Again, please look at the
  +            examples for more information on how to use this
  +            object.</td>
  +        </tr>
  +        <tr>
  +            <td>$xmlout.outputString(Element, true)</td>
  +            <td>This contains an class which extends the instance of the
  +            JDOM XMLOutputter() object. The difference between this
  +            .outputString() and the one in XMLOutputter is that it will
  +            output all of the Elements <strong>within</strong> the
  +            passed in Element. So, if you pass in a &lt;td&gt; Element, 
  +            you will get everything inside the &lt;td&gt; &lt;/td&gt;, but
  +            not the actual &lt;td&gt; &lt;/td&gt;.
  +            </td>
           </tr>
           <tr>
               <td>$treeWalk.allElements($element)</td>