samples/ddl.ysl2
author Claudio Luck <claudio.luck@pep.foundation>
Thu, 19 Mar 2020 15:20:28 +0100
changeset 64 4e4782144f4f
parent 0 76005e62091d
permissions -rw-r--r--
make main(), easier merge
include yslt.yml2

tstylesheet {
    template "/list" {
        | CREATE TABLE «name(*)» (
        
        apply "*[1]/*";

        | );
    }

    template "*" {
        | «name()» VARCHAR`if "position()!=last()" ", "`
    }
}