diff xsls/dirmap.xsls @ 432:fbba1f292dc9

Generate mapping of directives to URIs in the nginx map format.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 28 Feb 2012 08:06:22 +0000
parents
children be54c443235a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xsls/dirmap.xsls	Tue Feb 28 08:06:22 2012 +0000
@@ -0,0 +1,18 @@
+X:stylesheet {
+
+X:output method="text";
+
+X:template = "link" {
+    !{@id}
+    X:text{ }
+    !{substring-before(@doc, '.xml')}
+    X:text{.html#}
+    !{@id}
+    X:text{;&#10;}
+}
+
+X:template = "links" {
+    !! "link";
+}
+
+}