DOM and SAX are the two dominant APIs (application program interface) for accessing and manipulating XML.
As a W3C specification, the objective for the XML DOM has been to provide a standard programming interface to a wide variety of applications. The XML DOM is designed to be used with any programming language and any operating system.
With the XML DOM, a programmer can create an XML document, navigate its structure, and add, modify, or delete its elements. A program called an XML parser (Microsoft) can be used to load an XML document into the memory of your computer. When the document is loaded, its information can be retrieved and manipulated by accessing the DOM. The official DOM does not include standard functions for loading XML documents.
SAX is the Simple API for XML, originally a Java-only API. SAX was the first widely adopted API for XML in Java, and is a “de facto” standard. The current version is SAX 2.0, and there are versions for several programming language environments other than Java.
SAX has recently switched over to the SourceForge project infrastructure. The intent is to continue the open development and maintainance process for SAX.
API (Application Program Interface) is a set of routines, protocols, and tools for building software applications. A good API makes it easier to develop a program by providing all the building blocks. A programmer puts the blocks together.
SOAP (Simple Object Access Protocol) provides a way for applications to communicate with each other over the Internet, independent of platform. SOAP relies on XML to define the format of the information and then adds the necessary HTTP headers to send it.
SMIL (Synchronized Multimedia Integration Language) is a new markup language being developed by the World Wide Web Consortium (W3C) that would enable Web developers to divide multimedia content into separate files and streams (audio, video, text, and images), send them to a user's computer individually, and then have them displayed together as if they were a single multimedia stream. The ability to separate out the static text and images should make the multimedia content much smaller so that it doesn't take as long to travel over the Internet.
SMIL is based on the eXtensible Markup Language (XML). Rather than defining the actual formats used to represent multimedia data, it defines the commands that specify whether the various multimedia components should be played together or in sequence.
Recursion is an error reported by the processor.
A node is one individual piece of the XML document such as an element, an attribute or text content. A node tree is a hierarchial representation of the entire XML document.
|