|
|
|
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.
Version: n/a
Platforms: n/a
Last Updated: March 26, 2007 |
|
|
|
|
This article presents the xml_objectify module. It describes how to use xml_objectify and the advantages of using this "Pythonic" module for working with XML documents as objects.
Version: n/a
Platforms: n/a
Last Updated: April 08, 2007 |
|
|
|
|
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.
Version: n/a
Platforms: n/a
Last Updated: April 09, 2007 |
|
|
|
|
This column presents some of the changes to the author's 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.
Version: n/a
Platforms: n/a
Last Updated: April 11, 2007 |
|
|
|
|