Edgewall Software

Changes between Version 7 and Version 8 of GenshiVsKid


Ignore:
Timestamp:
Nov 19, 2006, 9:33:21 PM (17 years ago)
Author:
cmlenz
Comment:

Fix link to eval module

Legend:

Unmodified
Added
Removed
Modified
  • GenshiVsKid

    v7 v8  
    1313 * No generation of Python code for a template; the template is executed directly.
    1414 * No support for `<?python ?>` processing instructions
    15  * Expressions are evaluated in a more flexible manner, meaning you can use e.g. dotted notation to access items in a dictionary, and the other way around (see the [source:/trunk/genshi/eval.py genshi.eval] module)
     15 * Expressions are evaluated in a more flexible manner, meaning you can use e.g. dotted notation to access items in a dictionary, and the other way around (see the [source:/trunk/genshi/template/eval.py genshi.template.eval] module)
    1616 * Proper scoping of variables. Names do not leak into outer scopes.
    1717 * Use of XInclude and match templates instead of Kid's `py:extends` / `py:layout` directives
    1818 * `py:match` directives use (basic) XPath expressions to match against input nodes, making match templates more powerful while keeping the syntax simple (see [wiki:Documentation/xpath.html Using XPath in Genshi])
    1919 * Additional directives `py:choose` / `py:when` / `py:otherwise` to better support multi-branch conditionals (aka ''if, else if, else'').
    20  * It is possible to include markup that is not well-formed in the output (which you may need to do in [http://pyre.third-bit.com/blog/archives/000417.html some]  [http://groups.google.com/group/turbogears/browse_thread/thread/f8c0c9800b6aabae/ca12dea6a9729da9?lnk=gst&q=kid+questions&rnum=1 cases]). And if you need to include bad HTML markup but would like to still produce valid output, Genshi provides a ''HTML-sanitizing'' stream filter.
     20 * It is possible to include markup that is not well-formed in the output (which you may need to do in [http://pyre.third-bit.com/blog/archives/000417.html some]  [http://groups.google.com/group/turbogears/browse_thread/thread/f8c0c9800b6aabae/ca12dea6a9729da9 cases]). And if you need to include bad HTML markup but would like to still produce valid output, Genshi provides a ''HTML-sanitizing'' stream filter.
    2121 * Real (thread-safe) search path support
    2222 * No dependency on ElementTree (due to the lack of position reporting)