pyxslt

Serialize Python objects to XML using an XSL template
Download

pyxslt Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Michael Alyn Miller
  • Publisher web site:
  • http://www.strangegizmo.com
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 13 KB

pyxslt Tags


pyxslt Description

Serialize Python objects to XML using an XSL template pyxslt makes it easy to turn Python objects into XML documents. In addition to basic XML serialization, pyxslt can also apply an XSL template to the serialized XML fragments. You could, for example, use pyxslt to convert the results of an SQLObject query to an XHTML file.All Python objects given to pyxslt are converted into their string representations. pyxslt focuses on serializing objects in such a way as to make the construction of XSL templates as easy as possible. As a result, pyxslt’s XML serialization is usually not reversible.In other words, pyxslt is not a replacement for pickle, shelve, marshal or any of the other true serialization modules because it is designed with one-way XSL transformation in mind.pyxslt makes use of libxml2 to build its internal XML documents and libxslt to perform XSL transformations. Both packages must be installed in order for pyxslt to do its job. What's New in This Release: · SQLObject DateTimeCol values are now serialized as ISO 8601 values using isoformat() instead of just being converted to strings. ISO 8601 values are easier to use with the various XSLT date functions.


pyxslt Related Software