samples/empty.ysl2
author Hartmut Goebel <h.goebel@crazy-compilers.com>
Tue, 17 Mar 2020 11:05:51 +0100
changeset 45 4ac3bb01f0bc
parent 0 76005e62091d
permissions -rw-r--r--
Add setup.py, setup.cfg and MANIFEST.in.
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()" |
    }
}