B.5. Programming
| DOM | The Document Object Model is a general API for XML parsing. |
Status
DOM Level 2 became a W3C recommendation November 2000, and is composed of five specifications:
DOM2 Core Specification
DOM2 Views Specification
DOM2 Events Specification
DOM2 Style Specification
DOM2 Traversal and Range Specification
Description
DOM Level 2 is a platform- and language-neutral interface that allows programs and scripts to dynamically access and update the content and structure of documents. The DOM Level 2 Core builds on the DOM Level 1 Core, and consists of a set of core interfaces that create and manipulate the structure and contents of a document. The Core also contains specialized interfaces dedicated to XML.
| SAX | The Simple API for XML is a free API for event-based XML parsing. |
Status
SAX was collaboratively developed by the XML-DEV mailing list (hosted by OASIS). The current release is SAX 2.0, dated May 2000. SAX is maintained by David Megginson at http://www.megginson.com/SAX/.
Description
SAX2 is a new Java-based release of SAX. SAX2 introduces configurable features and properties and adds support for XML Namespaces. It also includes adapters that allow it to interoperate with SAX1 parsers and applications.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access