samples/gen_addr_html.ysl2
changeset 25 cb4a7f8b230d
parent 0 76005e62091d
--- a/samples/gen_addr_html.ysl2	Tue Nov 20 22:35:38 2018 +0100
+++ b/samples/gen_addr_html.ysl2	Fri Jan 25 23:31:57 2019 +0100
@@ -1,13 +1,19 @@
 include yslt.yml2
 
-stylesheet {
+estylesheet {
     template "/list" html {
         head title "address list";
-        body table style="border-style=solid;" apply "address";
+        body table style="border-style=solid;"
+            apply "address";
     }
     template "address" tr {
         td value "name";
         td value "street";
-        td value "city";
+        td value "village";
+    }
+    template "address[name='Schmidt']" tr {
+        td value "name";
+        td value "street";
+        td value "village";
     }
 }