XmlMe is very simple, Compact and fast XML parser for J2ME platform.
It allows to use XML data in your midlets.
XmlBrowser can work in three modes:
1. DOM-like: XML document is parsed and the whole DOM-like tree
consisting of XMLElement and XMLAttribute nodes is constructed in memory.
Programmer can the use methods of XMLElement to traverse tree ,
get values of elements and attributes, search siblings.
2. Callback: XML parser is parsing XML document without construction of any
tree. Instead of it callbacks of XMLBuilder class are invoked.
These callbacks can be use to construct proper application objects
from XML. It is the most efficient approach (from speed and space point of
view), because now extra data structures are constructed in memory.
XML documented in mapped directly to application object with
building intermediate DOM level.
3. Mixed model: XML parser can provide enumeration for all
direct siblings of root class. For each such sibling
subtree is constructed in memory. This tree can be traversed using
methods of XMLElement node. But as far as only one subtree
is present in memory at each iteration, this approach requires
significantly less memory than first approach.