samples/ddl.ysl2
author Volker Birk <vb@pep-project.org>
Tue, 29 Jan 2019 11:23:36 +0100
changeset 27 0cdfe84ef643
parent 0 76005e62091d
permissions -rw-r--r--
...
include yslt.yml2

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

        | );
    }

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