samples/customer.ysl2
author Volker Birk <vb@pep-project.org>
Thu, 21 Jan 2021 01:46:34 +0100
changeset 70 58043c7bcc51
parent 0 76005e62091d
permissions -rw-r--r--
renamed in Python 3
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";
    }
}