Hitachi

uCosminexus Application Server XML Processor User Guide


1.1.2 Enables Easy Parsing of XML Documents Using Java Programs

By providing a JAXP implementation, Cosminexus XML Processor enables Java programs to use XML parsers.

An XML parser is a library that parses XML documents and provides the parsed data to user programs in a manageable data structure. When you parse an XML document, tags and attributes in the document can also be validated for compliance with an XML Schema or DTD.

The following figure shows the process flow for parsing an XML document by using JAXP:

Figure 1‒1: Flow of parsing XML documents in JAXP

[Figure]

By using JAXP, the Java program can generate an XML parser (SAX, StAX, or DOM parsers) for parsing XML documents.