samples/empty.ysl2
author Claudio Luck <claudio.luck@pep.foundation>
Thu, 19 Mar 2020 14:54:23 +0100
changeset 61 482106d33bf6
parent 0 76005e62091d
permissions -rw-r--r--
ignore setup.py stuff in .hgignore
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()" |
    }
}