Make rule and stylesheet to try out XSLT for DocBook processing
authorPeter Eisentraut
Tue, 13 Jan 2004 18:45:19 +0000 (18:45 +0000)
committerPeter Eisentraut
Tue, 13 Jan 2004 18:45:19 +0000 (18:45 +0000)
doc/src/sgml/Makefile
doc/src/sgml/stylesheet.xsl [new file with mode: 0644]

index c8c00651e7e1cc89792de5e80f6c930d00eef3d3..64f57814ad85846caa703a9c6d4d7ca2ecccc054 100644 (file)
@@ -2,7 +2,7 @@
 #
 # PostgreSQL documentation makefile
 #
-# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.62 2003/12/15 22:24:59 momjian Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.63 2004/01/13 18:45:19 petere Exp $
 #
 #----------------------------------------------------------------------------
 
@@ -197,6 +197,20 @@ regress_README.html: regress.sgml
    rm tempfile_regress_README.sgml
 
 
+##
+## Experimental XML stuff
+##
+
+OSX = osx # (may be called sx or sgml2xml on some systems)
+XSLTPROC = xsltproc
+
+postgres.xml: postgres.sgml $(GENERATED_SGML)
+   $(OSX) -x lower $< >$@
+
+testxml: stylesheet.xsl postgres.xml
+   $(XSLTPROC) $^
+
+
 ##
 ## Check
 ##
diff --git a/doc/src/sgml/stylesheet.xsl b/doc/src/sgml/stylesheet.xsl
new file mode 100644 (file)
index 0000000..3301afd
--- /dev/null
@@ -0,0 +1,70 @@
+
+
+                version='1.0'
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                exclude-result-prefixes="#default">
+
+
+
+
+
+
+
+3
+
+
+
+
+
+
+
+ 
+
+
+
+ 
+  
+
+
+
+
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+
+  
+
+
+