samples/dml.ysl2
author Claudio Luck <claudio.luck@pep.foundation>
Thu, 19 Mar 2020 16:45:02 +0100
changeset 62 00a196f8d14a
parent 0 76005e62091d
permissions -rw-r--r--
Merge 2.6.3
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()" ", "`
}