Mercurial > genshi > mirror
view examples/transform/README.txt @ 134:d681d2c3cd8d trunk
* Improve the accuracy of line numbers for text nodes, so that reported errors about syntax or evaluation errors in expressions point to the right line (not quite perfect yet, though).
* Evaluation errors in expressions now include the original expression code in the traceback.
author | cmlenz |
---|---|
date | Sun, 06 Aug 2006 18:07:21 +0000 |
parents | 8b6bd2d920c1 |
children |
line wrap: on
line source
This example shows how to transform some HTML input, while adding elements such as headers, and using <em>/<strong> instead of <i>/<b>. The output is that a proper XTHML document.