|
XML Processing with Python
|
Other links at Python > Tutorials > XML and Python |
| 1. |
xml_pickle and xml_objectify
|
|
|
This column presents some of the changes to the authors previous module suite, utilities for high-level Python handling of XML documents, as well as some tips on advanced aspects of using and customizing the modules. Code samples demonstrate py_obj._XML attributes, node attributes treated as objects and lists, py_obj magic attribute behavior, and more.
|
| 2. |
Intro to PYX
|
|
|
XML is a fairly simple format. It uses plain Unicode text rather than binary encoding, and all the structures are declared with predictable-looking tags. Nonetheless, there are still enough rules in the XML grammar that a carefully debugged parser is needed to process XML documents -- and every parser imposes its own particular programming style. An alternative is to make XML even simpler. The open-source PYX format is a purely line-oriented format for representing XML documents that allows for much easier processing of XML document contents with common text tools like grep, sed, awk, wc, and the usual UNIX collection.
|
| 3. |
Intro to PYX
|
|
|
XML is a fairly simple format. It uses plain Unicode text rather than binary encoding, and all the structures are declared with predictable-looking tags. Nonetheless, there are still enough rules in the XML grammar that a carefully debugged parser is needed to process XML documents -- and every parser imposes its own particular programming style. An alternative is to make XML even simpler. The open-source PYX format is a purely line-oriented format for representing XML documents that allows for much easier processing of XML document contents with common text tools like grep, sed, awk, wc, and the usual UNIX collection.
|
| 4. |
XML Processing with Python
|
|
|
This article illustrates the principle features of the Python language, and then examine the XML processing capabilities of Python.
|
| 5. |
Introduces the Python xml_pickle object
|
|
|
As part of the ongoing quest to create a more seamless integration between XML and Python, this article presents the xml_pickle module. The author discusses the design goals and decisions that went into xml_pickle and provides a list of likely uses.
|
|
|