samples/dml.ysl2
author Volker Birk <vb@pep-project.org>
Sat, 12 Oct 2019 15:56:01 +0200
changeset 37 a5e211c3fae3
parent 0 76005e62091d
permissions -rw-r--r--
documentation
include yslt.yml2

tstylesheet {
    template "/list/*"
        | INSERT INTO «name()» (`apply "*", 0, mode="names"`) VALUES (`apply "*", mode="values"`);
    
    template "*", mode="names" > «name()»`if "position()!=last()" ", "`
    template "*", mode="values" > '«.»'`if "position()!=last()" ", "`
}