Changes between Version 3 and Version 4 of MarkupTemplates
- Timestamp:
- Jul 6, 2006, 8:44:20 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MarkupTemplates
v3 v4 14 14 * No support for `<?python ?>` processing instructions 15 15 * 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. 16 17 * Use of XInclude and match templates instead of Kid's `py:extends` / `py:layout` directives 17 18 * `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)