ANN: lwebstring 0.5

L. C. Rees lcrees at gmail.com
Sat Oct 7 22:28:02 CEST 2006


lwebstring is a lxml-based implementation of webstring, an XML template
engine where Python is the template language. lxml exposes the power of
the libxml2 and libxslt libraries to the Python programmer using the
elegant and powerful yet simple ElementTree API. lwebstring extends
this power to easy XML and HTML templating using the highly Pythonic
webstring API inspired by PyMeld.

lwebstring can be downloaded from its Python CheeseShop page at:

http://cheeseshop.python.org/pypi/lwebstring/

or installed using setuptools' easy_install:

easy_install lwebstring

More information on lwebstring including documentation and an
introductory tutorial
can be found at:

http://psilib.sourceforge.net/webstring.html

Highlights of 0.5 include:

- Support for including external XML files in an XML document using
XInclude. This is useful for reusing common features between XML
templates.
- Function decorators for WSGI templating. This allows XML and HTML
templating to be just another piece of WSGI middleware instead of using
a separate API standard.



More information about the Python-announce-list mailing list