X-Nico

5 unusual facts about Simple API for XML


Simple API for XML

A DOM parser, in contrast, typically builds a tree representation of the entire document in memory to begin with, thus using memory that increases with the entire document length.

Streaming XML

Another popular use of this term refers to one method of consuming XML data – largely known as Simple API for XML.

XML Catalog

One way to avoid these problems is to use an entity resolver (a standard part of SAX) or a URI Resolver (a standard part of JAXP).

The following example shows how, in Java, a SAX parser may be created to parse some input source in which the org.apache.xml.resolver.tools.CatalogResolver is used to resolve external entities to locally-cached instances.

XML data binding

This allows applications to access the data in the XML from the object rather than using the DOM or SAX to retrieve the data from a direct representation of the XML itself.



see also