Class XMLFragment

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.util.XMLFragment
All Implemented Interfaces:
Cloneable, DynamicElementNS
Direct Known Subclasses:
EchoXML

public class XMLFragment extends ProjectComponent implements DynamicElementNS
Use this class as a nested element if you want to get a literal DOM fragment of something nested into your task/type.

This is useful for tasks that want to deal with the "real" XML from the build file instead of objects.

Code heavily influenced by code written by Dominique Devienne.

Since:
Ant 1.7