ANN: Pyana 0.4.5

Brian Quinlan brian at sweetapp.com
Mon May 6 16:24:05 EDT 2002


Pyana is a XSLT transformation system for Python, based on the Apache
Group's Xalan processor.

It combines the speed and compliance of the Xalan XSLT processor with
convenient access from Python. Key features include:

1. The ability to transform documents from a variety of sources, 
   including URIs, "reader" objects (e.g. Python file objects,
   StringIO objects) and strings.
2. The ability to extend the XPath language with functions written in
   Python.
3. Operation completely within the Python process for low overhead.

This release adds the following features and fixes:

1. Stylesheets can be precompiled for better performance
2. Source documents can be pre-parsed for better performance
3. Custom entity resolvers can be installed. An entity resolver is a
   class that can map a URI into a stream. For example, you could use
   this feature to read your documents from a compressed archive 
   (I've written an example along these lines).
4. Fixed a small memory leak in transformToString
5. More efficient reading of XSL documents from reader objects

The Pyana website is at:
http://pyana.sourceforge.net

You might want to start by looking at the examples:
http://pyana.sourceforge.net/examples/

Cheers,
Brian






More information about the Python-list mailing list