Write data- or field-oriented XML.
This filter pretty-prints field-oriented XML without mixed content.
all added indentation and newlines will be passed on down
the filter chain (if any).
In general, all whitespace in an XML document is potentially
significant, so a general-purpose XML writing tool like the
XMLWriter class cannot
add newlines or indentation.
There is, however, a large class of XML documents where information
is strictly fielded: each element contains either character data
or other elements, but not both. |