There are many xml libraries in python world but on S60 there are few implementations of them.
Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags). Pyexpat is part of PyXML and is a wrapper of the expat parser. It supports DTD validation.
For parsing xml with python you need pyexpat for S60.
pyexpat has been ported to python S60.
Robert Cameron has a set of regular expressions that can be used - very easily and effectively - to parse XML content.
The XmlParser module can be used to parse an XML file or to parse an XML string.
The cElementTree module is a C implementation of the ElementTree API, optimized for fast parsing and low memory use. On typical documents, cElementTree is 15-20 times faster than the Python version of ElementTree, and uses 2-5 times less memory. On modern hardware, that means that documents in the 50-100 megabyte range can be manipulated in memory, and that documents in the 0-1 megabyte range load in zero time (0.0 seconds). This allows you to drastically simplify many kinds of XML applications. cElementTree has been adapted to Python S60 by Simo Salminen.
links : Python and XML
No related wiki articles found