samples/gen_addr_html.ysl2
changeset 0 76005e62091d
child 25 cb4a7f8b230d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/samples/gen_addr_html.ysl2	Mon Jul 11 23:15:28 2016 +0200
@@ -0,0 +1,13 @@
+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";
+    }
+}