samples/dml.ysl2
author Volker Birk <vb@pep-project.org>
Tue, 15 Dec 2020 11:29:51 +0100
changeset 68 26120af11afd
parent 0 76005e62091d
permissions -rw-r--r--
do not need this
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()" ", "`
}