B.22 EchoXML

Echo nested XML to the console or a file.

Table B.22: Attributes

fileStringThe file to receive the XML.by default nested XML is echoed to the logNo
appendBooleanWhether to append file, if specified.falseNo

B.22.1 Parameters specified as nested elements

Nested XML content is required.

B.22.2 Examples

<echoxml file="subbuild.xml">
    <project default="foo">
        <target name="foo">

Create a Phing buildfile, subbuild.xml.