XMLPullParser is a streaming XML parser. Instead of building a DOM tree, the parser streams over "events" (start tag, text, end tag) on demand. For more information on the technique in general, see xmlpull.org
This code is a mashup of Antony Blakey's work for VisualWorks (ported by permission) together with the tokenizer from YAXO.
Licensed under the MIT license.
Copyright (C) 2007 Antony Blakey, Linkuistics P/L, Adelaide, South Australia. Copyright (C) 2009 Ken Treis, Miriam Technologies Inc, Washington State, USA