June 2002
Intermediate to advanced
504 pages
10h 10m
English
Currently, three different libraries are available for XML parsing. Table 10.1 shows an overview of the features and limitations of the different APIs. In general, a trade-off exists between the package size and the features available. None of the XML parsers available for CLDC is a validating XML parser.
| Parser | JAR Size | License | URL and Remarks |
|---|---|---|---|
| NanoXML KVM port | 9.7KB | Libpng | http://nanoxml.sourceforge.net
No support for mixed content. The whole document is parsed to a memory structure. Optional SAX interface available. XML writing support. |
| TinyXML KVM port | 7.9KB | GPL | http://www.microjava.com
SAX-like callback interface. No XML writing support. |
| KXML | 19.9KB | Enhydra License | http://www.kxml.org
Namespace ... |
Read now
Unlock full access