samples/customer.ysl2
author Volker Birk <vb@pep-project.org>
Thu, 08 Apr 2021 14:42:47 +0200
changeset 73 483d99ba1b16
parent 0 76005e62091d
permissions -rw-r--r--
add pointer support for include
include yslt.yml2

stylesheet {
    template "/" html {
        head title "Customer List";
        body apply "list";
    }

    template "list" table apply "customer[starts-with(name, 'Kurt')]";

    template "customer" tr {
        td value "id";
        td value "name";
    }
}