You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

echoxml.html 1.4 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  5. <title>EchoXML Task</title>
  6. </head>
  7. <body>
  8. <h2>EchoXML</h2>
  9. <h3>Description</h3>
  10. <p>Echo nested XML to the console or a file. <b>Since Ant 1.7</b></p>
  11. <h3>Parameters</h3>
  12. <table border="1" cellpadding="2" cellspacing="0">
  13. <tr>
  14. <td valign="top"><b>Attribute</b></td>
  15. <td valign="top"><b>Description</b></td>
  16. <td align="center" valign="top"><b>Required</b></td>
  17. </tr>
  18. <tr>
  19. <td valign="top">file</td>
  20. <td valign="top">The file to receive the XML. If omitted nested
  21. XML will be echoed to the log.</td>
  22. <td valign="top" align="center">No</td>
  23. </tr>
  24. <tr>
  25. <td valign="top">append</td>
  26. <td valign="top">Whether to append <code>file</code>, if specified.</td>
  27. <td valign="top" align="center">No</td>
  28. </tr>
  29. </table>
  30. <h3>Parameters specified as nested elements</h3>
  31. Nested XML content is required.
  32. <h3>Examples</h3>
  33. <pre>&lt;echoxml file=&quot;subbuild.xml&quot;&gt;
  34. &lt;project default=&quot;foo&quot;&gt;
  35. &lt;target name=&quot;foo&quot;&gt;
  36. &lt;echo&gt;foo&lt;/echo&gt;
  37. &lt;/target&gt;
  38. &lt;/project&gt;
  39. &lt;/echoxml&gt;
  40. </pre>
  41. <p>Creates an Ant buildfile, <code>subbuild.xml</code>.</p>
  42. <hr>
  43. <p align="center">Copyright &copy; 2005 The Apache Software Foundation.
  44. All rights Reserved.</p>
  45. </body>
  46. </html>