Echo nested XML to the console or a file.
Table B.21: Attributes
Name | Type | Description | Default | Required |
---|
file | String | The file to receive the XML. | by default nested XML is echoed to the log | No |
append | Boolean | Whether to append file , if specified. | false | No |
B.21.1 Parameters specified as nested elements
Nested XML content is required.
<echoxml file="subbuild.xml">
<project default="foo">
<target name="foo">
<echo>foo</echo>
</target>
</project>
</echoxml>
Create a Phing buildfile, subbuild.xml.