annotate examples/webpy/README.txt @ 744:cd6624cf2f7c trunk

Lots of `Transformer` cleanup: - Content-insertion transformations (before, after, etc.) now accept a callable. - `.prepend()` now ''only'' operates on elements. Previously it also operated on `OUTSIDE` marked events. - Where it makes sense, transformations are now ''consistently'' applied to individually selected objects in the document, rather than on any contiguous selection. This means that adjacent selected elements will be treated individually rather than as a whole. - Transformations should now consistently work on the context node. - `.substitute()` now defaults to a count of 0 (ie. all) rather than 1. This is to be consistent with Python's regex substitution. - `ATTR` events now have a `kind` of `ATTR` in addition to having this as their `mark`. - Added the `BREAK` `mark`. This allows cuts of otherwise seamlessly joined objects to be operated on. - Added a full test suite.
author athomas
date Mon, 09 Jun 2008 06:39:46 +0000
parents 8165d6e3b703
children
rev   line source
267
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
1 Sample application that demonstrates the use of Genshi templates in web.py
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
2 (http://webpy.org/).
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
3
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
4 Try introducing errors (not just XML well-formedness errors, those are boring)
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
5 in the template, and you'll see a nice error screen with pretty good
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
6 information about the exact error.
Copyright (C) 2012-2017 Edgewall Software