Abstract

The Extensible Markup Language (XML) is a new and powerful technology for Web applications. Application Programming Interfaces (APIs) are used to process an XML document by accessing internal structure. This paper surveys and compares three categories of APIs used in XML processors, including Document Object Model (DOM), Simple API for XML (SAX), and Java Document Object Model (JDOM). DOM defines an object-oriented and tree structured-based API (representing a document as a hierarchy of objects) for managing XML documents. SAX is an event-driven and serial access API to the process of parsing an XML document. It provides a callback notification mechanism as the data is parsed. JDOM is a new and promising API to integrate well with both DOM and SAX. It incorporates the best features of DOM and SAX.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call