samples/customer.ysl2
author Volker Birk <vb@pep-project.org>
Mon, 11 Jul 2016 23:35:43 +0200
changeset 1 23daf9d318ac
parent 0 76005e62091d
permissions -rw-r--r--
adding decl supplements
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";
    }
}