samples/gen_addr_html.ysl2
author Volker Birk <vb@pep.foundation>
Sat, 10 Dec 2016 10:11:31 +0100
changeset 7 f81a4471bc28
parent 0 76005e62091d
child 25 cb4a7f8b230d
permissions -rw-r--r--
beginning with Python 3 compat
include yslt.yml2

stylesheet {
    template "/list" html {
        head title "address list";
        body table style="border-style=solid;" apply "address";
    }
    template "address" tr {
        td value "name";
        td value "street";
        td value "city";
    }
}