June 2004
Intermediate to advanced
848 pages
21h 28m
English
This is a good point to review the packages that make up the Java XML library, their purpose, and their classes. The different package names reflect the different origins of the code. The Java interfaces came from Sun Microsystems, the DOM implementation came from the W3C, and the SAX parser implementation came from yet a third organization.
Package: javax.xml.parsers
Purpose: Is the Java interface to the XML standard for parsing.
Contains these classes/interfaces: DocumentBuilderFactory, DocumentBuilder, SAXParserFactory, SAXParser. These get instances of a Parser and undertake a parse on an XML file.
Package: javax.xml.transform
Purpose: is the Java interface to the XML standard for tree transformation
Contains ...
Read now
Unlock full access