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