We hope that this paper will be useful introduction to pull parsing and will give a motivation to use as an alternative to SAX API. It also demonstrates advantages of this alternative mode of parsing, compares pull with push models (with emphasize on SAX2) and argues that both are needed.
An API that allows both push and pull parsing should be made available to users to allow them to use the best of both parsing models (and assure that user has the most powerful tools to accomplish XML related tasks). XPP2 API and its implementations are hopefully a first step into this direction.
We would like to welcome readers to visit our web page http://www.extreme.indiana.edu/soap/xpp and browse more detailed documentation, download source code and send us comments.