Edgewall Software

Changes between Version 3 and Version 4 of MarkupTemplates


Ignore:
Timestamp:
Jul 6, 2006, 8:44:20 PM (18 years ago)
Author:
cmlenz
Comment:

Note about scoping

Legend:

Unmodified
Added
Removed
Modified
  • MarkupTemplates

    v3 v4  
    1414 * No support for `<?python ?>` processing instructions
    1515 * Expressions are evaluated in a more flexible manner, meaning you can use e.g. attribute access notation to access items in a dictionary, etc (see the [source:/trunk/markup/eval.py markup.eval] module)
     16 * Proper scoping of variables. Names do not leak into outer scopes.
    1617 * Use of XInclude and match templates instead of Kid's `py:extends` / `py:layout` directives
    1718 * `py:match` directives use (basic) XPath expressions to match against input nodes, making match templates more powerful while keeping the syntax simple (see the [source:/trunk/markup/path.py markup.path] module)