[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/genshi.txt Note source of example
Wichert Akkerman
wichert at wiggy.net
Sat Aug 16 04:38:53 EDT 2008
Log message for revision 89909:
Note source of example
Changed:
U z3c.pt/trunk/src/z3c/pt/genshi.txt
-=-
Modified: z3c.pt/trunk/src/z3c/pt/genshi.txt
===================================================================
--- z3c.pt/trunk/src/z3c/pt/genshi.txt 2008-08-16 08:35:39 UTC (rev 89908)
+++ z3c.pt/trunk/src/z3c/pt/genshi.txt 2008-08-16 08:38:52 UTC (rev 89909)
@@ -156,7 +156,7 @@
... "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
... <html xmlns="http://www.w3.org/1999/xhtml"
... xmlns:py="http://genshi.edgewall.org">
- ... <body> py:with="bla=1">
+ ... <body py:with="bla=1">
... <em>${bla}</em>
... </body>
... </html>""")
@@ -249,8 +249,10 @@
</div>
-:: Simple variable names do not need { .. }
+:: Simple variable names do not need { .. }. From `py:with specs`_.
+
+
>>> print render_genshi("""\
... <div xmlns="http://www.w3.org/1999/xhtml"
... xmlns:py="http://genshi.edgewall.org">
@@ -329,3 +331,7 @@
Hello, <em>World!
/* ]]> */
</div>
+
+
+.. _py:with specs: http://genshi.edgewall.org/wiki/Documentation/0.4.x/xml-templates.html#py-with
+
More information about the Checkins
mailing list