diff --git a/docs/manual/CoreTasks/antstructure.html b/docs/manual/CoreTasks/antstructure.html index 3d9af67f8..252cb24f9 100644 --- a/docs/manual/CoreTasks/antstructure.html +++ b/docs/manual/CoreTasks/antstructure.html @@ -69,7 +69,7 @@ element of this task - see the example below.

Examples

-<antstructure output="project.dtd"/>
+<antstructure output="project.dtd" />
 

Emitting your own structure instead of a DTD

@@ -87,17 +87,14 @@ public class MyPrinter implements AntStructure.StructurePrinter {

and then use it via typedef

-  <typedef name="myprinter" classname="org.example.MyPrinter"/>
+  <typedef name="myprinter" classname="org.example.MyPrinter" />
   <antstructure output="project.my">
-    <myprinter/>
-  <antstructure>
+    <myprinter />
+  </antstructure>
 

Your own StructurePrinter can accept attributes and nested elements just like any other Ant type or task.

- - -