samples/customer.ysl2
author Volker Birk <vb@pep.foundation>
Wed, 29 Aug 2018 23:53:30 +0200
changeset 21 5df774142d74
parent 0 76005e62091d
permissions -rw-r--r--
Added tag 2.5.8 for changeset 172da49a35f6
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";
    }
}