
Use Xerces-J to Obtain a Serialized DOM Tree
Suppose you need to serialize a DOM tree, with the result being an XML document. Xerces-J allows you to specify a maximum line length and an indent value. Here’s an example: //the XML document used in this example is://”C://Data_local//xml//docs//AirWings_xml.xml”//The application has two steps:// 1. – Get the DOM tree of