next The Document Object Model
up XML Parsing Stategy
previous XML Parsing Stategy
  Contents
PDF version   PostScript version

The Simple API for XML

SAX a is a sequential, event driven, stateless (and therefore read-only) parsing strategy. The client application registers its interest in selected XML element and defines the respective call-back methods. When parsing occurs, the document is processed sequentially and the relevant call-back method is invoked whenever the corresponding XML element is encountered. During this process, no record is made of the elements already parsed. Whereas this may lead to performance benefits, the whole operation has to be started again if an element needs to be accessed at a later stage.


next The Document Object Model
up XML Parsing Stategy
previous XML Parsing Stategy
  Contents

Copyright © 2001 Jean-Marc Rosengard