samples/empty.ysl2
author Hartmut Goebel <h.goebel@crazy-compilers.com>
Thu, 19 Mar 2020 10:47:36 +0100
changeset 63 37d51c3abaae
parent 0 76005e62091d
permissions -rw-r--r--
Release 2.6.3
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()" |
    }
}