Encyclopedia > Simple API for XML

  Article Content

Simple API for XML

SAX is a serial access parser API for XML and its name is acronymically derived from "Simple API for XML". A SAX Parser handles XML information as a stream and is unidirectional, i.e. it cannot renegotiate a node without first having to establish a new handle to the document and reparse. With that proviso in mind, however, the SAX parser, since it works in stream mode, is unquestionably faster than its sibling the DOM[?] parser.

The SAX parser is implemented as an event-driven[?] model in which the programmer provides callback methods which are invoked by the parser as part of its traversal of the XML document.

SAX was developed collaboratively on the xml-dev mailing list, with no formal committee structure, but was quickly implemented by major companies working with XML. The original lead developer and maintainer was David Megginson[?]. SAX is now maintained by David Brownell[?].

See also: XML, DOM (XML API)[?]



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Great River, New York

... the age of 18, 5.0% from 18 to 24, 29.0% from 25 to 44, 24.2% from 45 to 64, and 12.7% who are 65 years of age or older. The median age is 39 years. For every 100 ...

 
 
 
This page was created in 24.3 ms