Changes between Version 1 and Version 2 of XML/Templates


Ignore:
Timestamp:
Nov 21, 2013, 11:46:52 AM (8 years ago)
Author:
vadim.godunko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML/Templates

    v1 v2  
    44
    55Markup Templates Engine reads XML template documents and generates XML or HTML5/XHTML5 documents.
     6
     7== Template Directives ==
     8
     9=== Conditional Sections ===
     10
     11==== mtl:if ====
     12
     13{{{#!xml
     14<mtl:if condition="boolean expression">
     15  ...
     16</mtl:if>
     17}}}
     18
     19=== Looping ===
     20
     21==== mtl:for ====
     22
     23{{{#!xml
     24<mtl:for each="item of items">
     25  ...
     26</mtl:for>
     27}}}
     28
     29== Expressions ==
     30
     31=== Simple expressions ===
     32
     33=== Iterating expressions ===
    634
    735== Generating of HTML5 Documents ==
     
    1139Below is an example of its use with XML Simple Reader (it can obtain stream of SAX events from other sources too, for instance from templates processor):
    1240
    13 {{{
     41{{{#!ada
    1442with Ada.Text_IO;
    1543