webstring is an XML template engine that uses Python as its template
language. It exposes the XML you need and hides the XML you don't. XML
manipulation is done with Python so you don't have to learn a separate
template language. webstring templates are plain XML or HTML so
designers don't need to become programmers. webstring can take broken
HTML and output it as HTML 4.01 or XHTML along with other XML formats.
It can also act as WSGI middleware for templating web output on the
fly.

webstring uses cElementTree or elementtree as its XML processing
backend. lwebstring uses lxml, a Python binding for the libxml2 and
libxsl libraries.

Highlights of release 0.4 of webstring and lwebstring include:

- Output changes: fields and groups output a marked element, its
children, and new siblings
instead of the marked element's parent element when rendered as a
string.
- Template concatenation can be chained i.e. template1 + template2 +
template3
- includes middleware for using the Template and HTMLTemplate classes
with WSGI applications.

Highlights of release 0.4 of lwebstring include:

- can apply XSLT stylesheets to a Template using the "transform" method

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html

Reply via email to