Author: mbenson
Date: Wed Nov 15 08:12:22 2006
New Revision: 475291
URL: http://svn.apache.org/viewvc?view=rev&rev=475291
Log:
fix example xml. BZ 40975.
Modified:
ant/core/trunk/docs/manual/CoreTasks/antstructure.html
Modified: ant/core/trunk/docs/manual/CoreTasks/antstructure.html
URL:
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/antstructure.html?view=diff&rev=475291&r1=475290&r2=475291
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/antstructure.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/antstructure.html Wed Nov 15 08:12:22
2006
@@ -69,7 +69,7 @@
</table>
<h3>Examples</h3>
<blockquote><pre>
-<antstructure output="project.dtd"/>
+<antstructure output="project.dtd" />
</pre></blockquote>
<p><b>Emitting your own structure instead of a DTD</b></p>
@@ -87,17 +87,14 @@
<p>and then use it via typedef</p>
<pre>
- <typedef name="myprinter" classname="org.example.MyPrinter"/>
+ <typedef name="myprinter" classname="org.example.MyPrinter" />
<antstructure output="project.my">
- <myprinter/>
- <antstructure>
+ <myprinter />
+ </antstructure>
</pre>
<p>Your own StructurePrinter can accept attributes and nested elements
just like any other Ant type or task.</p>
-
-
</body>
</html>
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]