From: Peter Eisentraut Date: Tue, 13 Jan 2004 18:45:19 +0000 (+0000) Subject: Make rule and stylesheet to try out XSLT for DocBook processing X-Git-Tag: REL8_0_0BETA1~1339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e27d50023545d4e0d385ca9ea955ff1d78c5d394;p=postgresql Make rule and stylesheet to try out XSLT for DocBook processing --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index c8c00651e7..64f57814ad 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -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 index 0000000000..3301afd617 --- /dev/null +++ b/doc/src/sgml/stylesheet.xsl @@ -0,0 +1,70 @@ + + + + + + + + + +3 + + + + + + + + + +pgsql-docs@postgresql.org + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +