Reading data

There are several ways available to read an XML file:
  • Call the method setXMLFile.
  • Call the method readXML to read XML data from an input stream.
  • Call the method readDOM to read data directly from a DOM tree.