samples/gen_addr_html.ysl2
changeset 0 76005e62091d
child 25 cb4a7f8b230d
equal deleted inserted replaced
-1:000000000000 0:76005e62091d
       
     1 include yslt.yml2
       
     2 
       
     3 stylesheet {
       
     4     template "/list" html {
       
     5         head title "address list";
       
     6         body table style="border-style=solid;" apply "address";
       
     7     }
       
     8     template "address" tr {
       
     9         td value "name";
       
    10         td value "street";
       
    11         td value "city";
       
    12     }
       
    13 }