samples/customer.ysl2
author Volker Birk <vb@pep-project.org>
Mon, 04 Nov 2019 11:37:27 +0100
changeset 39 054ce625f75a
parent 0 76005e62091d
permissions -rw-r--r--
Added tag 2.6.2 for changeset f93de5b34430
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";
    }
}