Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
service
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
Freenet DSL
Who's Online
9 user(s) are online (6 user(s) are browsing encyclopedia)

Members: 0
Guests: 9

more...
partner

Simple API for XML

SAX is a serial access parser API for XML. Sax provides a mechanism for reading data from an XML document. It is a popular alternative to the DOM (XML API). The name is acronymically derived from Simple API for XML .

A parser which implements SAX (ie, a SAX Parser ) handles XML information as a single stream of data. This data stream is unidirectional, such that previously accessed data cannot be re-read without reparsing.

Most users of XML believe that the SAX paradigm results in systematically faster XML processing than DOM. This is attributed to the fact that a SAX stream has a minuscule memory footprint compared to that of a fully constructed DOM (XML API) tree.

The SAX parser is implemented as an event-driven model in which the programmer provides Callback (computer science) 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.

=See also=

*Java API for XML Processing *Xerces *Crimson XML *System Integrated Automaton parser *Document Object Model

=References=

*David Brownell: SAX4 , O Reilly, ISBN 0-596-00237-8 *W. Scott Means, Michael A. Bodie: The Book of SAX , No Starch Press, ISBN 1-886411-77-8

=External links=

*[http://www.saxproject.org/ SAX homepage] *[http://xml.com/pub/a/2001/12/05/sax2.html Top Ten SAX2 Tips]

*Interfaces for ... **[http://www.python.org/doc/current/lib/module-xml.sax.html Python] **[http://www.saxproject.org/selected=quickstart Java]