samples/simple.ysl2
author Volker Birk <vb@pep-project.org>
Fri, 11 Oct 2019 22:56:56 +0200
changeset 36 bf45893d8378
parent 0 76005e62091d
permissions -rw-r--r--
Added tag 2.6.1 for changeset 6c0e2881db60
0
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     1
include yslt.yml2
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     2
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     3
tstylesheet {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     4
    template "/list" html body table apply "address";
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     5
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     6
    template "address" tr {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     7
        td value "name";
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     8
        td value "street";
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     9
        td value "city";
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    10
    }
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    11
}