|
The main three main APIs that we shall focus on are:
JAXP – Parsing API.
JAXM – Messaging API.
JAXB – Binding API.
Java API for XML Processing
As a developer, you would program to a special interface. This interface isolates you from specific parsers and coding changes.
SAX and DOM are language independent interfaces. SAX and DOM have two different APIs to access the information from the XML parser. The different APIs use different approaches to access the information in the XML document. SAX is a low level API and DOM is a high level API. The next sections will cover SAX and DOM in more detail.
XML applications will create a parser object, throw some XML at the parser and then process the results |