Changes between Version 8 and Version 9 of MarkupTemplates
- Timestamp:
- Jul 9, 2006, 3:57:10 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MarkupTemplates
v8 v9 3 3 The most important feature provided by the Markup package is a template engine. 4 4 5 Templates are XML files that include ''processing directives'' identified by the namespace `http://markup.edgewall.org/` and ''template expressions'' that are dynamically substituted by variable data.5 Templates are XML files of some kind (such as XHTML) that include ''processing directives'' identified by the namespace `http://markup.edgewall.org/` and ''template expressions'' that are dynamically substituted by variable data. 6 6 7 7 [[PageOutline(2-3, Table of Contents, inline)]] 8 8 9 9 == Expressions == 10 11 Python expressions can be used in text and attribute values. An expression is substituted with the result of its' evaluation against the template data. Expressions need to prefixed with a dollar sign (`$`) and usually enclosed by curly braces (`{…}`). 10 12 11 13 == Directives ==