Java Tutorial - Java Scipt : XML Parsers

Java Tutorial - Java Scipt :

XML Parsers

There are a variety of XML tools available for use with Java. As of version 1.4, the Java JDK comes with built-in XML libraries. These libraries are low-level compared to the others available and will serve as a starting point for us to explore XML.

The bundled libraries provide Java interfaces to the standard W3C standards:

·         DOM Level 1 and Level 2 (Document Object Model)

·         SAX Level 2 (Simple API for XML)

·         XSL 1.0 (Extensible Stylesheet Language), which includes XSLT (Extensible Stylesheet Transformations) and XPath (XML Path Language)

The Apache’s Crimson and Xalan projects provide the basic implementation for JDK 1.4. Java’s XML interfaces are standardized and pluggable, so the implementation can be changed without affecting any code written against the
standard. Many of the XML tools we review here provide implementations that implement the standard interfaces, while providing better performance and more features.