diff docs/xsls/content.xsls @ 3996:fc808f006ff4

skeleton for documentation processing
author Igor Sysoev <igor@sysoev.ru>
date Fri, 05 Aug 2011 09:25:34 +0000
parents
children ac19e755a132
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/xsls/content.xsls	Fri Aug 05 09:25:34 2011 +0000
@@ -0,0 +1,19 @@
+X:stylesheet {
+
+X:template = "section[@name and @title]" {
+    <a name="{@name}" /> <center><h4> !{@title} </h4></center>
+    !!;
+}
+
+X:template = "section[not(@name) and @title]" {
+    <center><h4> !{@title} </h4></center>
+    !!;
+}
+
+X:template = "section[not(@name) and not(@title)]" { !!; }
+
+X:template = "para" { <p> !!; </p> }
+
+X:template = "value" { <i> !!; </i> }
+
+}