samples/empty.ysl2
author Volker Birk <vb@pep.foundation>
Tue, 20 Nov 2018 22:35:38 +0100
changeset 24 1cb8f7566a07
parent 0 76005e62091d
permissions -rw-r--r--
Added tag 2.5.9 for changeset 8138b86a9196
include yslt.yml2

tstylesheet {
    template "/xsl:stylesheet" {
        > include yslt.yml2\n\ntstylesheet {\n
        apply "xsl:template";
        > }\n
    }
    template "xsl:template" choose {
        when "@match" {
            | template "«@match»" {
            |
            | }
        }
        when "@name" {
            | template "«@name»" {
            |
            | }
        }
        if "position()!=last()" |
    }
}