Index: Makefile =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/xml/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 30 Mar 2003 18:48:23 -0000 1.2 +++ Makefile 28 Apr 2003 18:42:26 -0000 @@ -5,6 +5,12 @@ # The xsltproc program. XSLTPROC = xsltproc +# Another xslt converter. +# If you want to use it, change also USE_SAXON to 1 (below) +# Probably you must also change the path to saxon.jar. +USE_SAXON = 0 +SAXON_COMMAND = java -cp /usr/share/java/saxon.jar com.icl.saxon.StyleSheet + # The xmllint program. XMLLINT = xmllint @@ -38,7 +44,7 @@ #####[ End of configuration ]########################################### -export CHUNK_XSL SGML_CATALOG_FILES XMLLINT XSLTPROC +export CHUNK_XSL SGML_CATALOG_FILES XMLLINT XSLTPROC SAXON_COMMAND USE_SAXON .PHONY: no-target no-target: Index: Makefile.inc =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/xml/Makefile.inc,v retrieving revision 1.1 diff -u -r1.1 Makefile.inc --- Makefile.inc 23 Mar 2003 23:26:55 -0000 1.1 +++ Makefile.inc 28 Apr 2003 18:42:26 -0000 @@ -20,8 +20,12 @@ $(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS) -rm -f $(HTMLDIR)/* $(XMLLINT) --noout --noent --postvalid --catalogs $< - $(XSLTPROC) --catalogs -o $(HTMLDIR)/ $(HTML_XSL) $< cp $(HTML_STYLESHEET) $(HTMLDIR)/ +ifeq (0,$(USE_SAXON)) + $(XSLTPROC) --catalogs -o $(HTMLDIR)/ $(HTML_XSL) $< +else + cd $(HTMLDIR) && $(SAXON_COMMAND) $(CURDIR)/$< $(CURDIR)/$(HTML_XSL) +endif ../html.xsl: sh ../gen-html.xsl.sh $(CHUNK_XSL) > $@ Index: README =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/xml/README,v retrieving revision 1.2 diff -u -r1.2 README --- README 21 Apr 2003 00:06:41 -0000 1.2 +++ README 28 Apr 2003 18:42:27 -0000 @@ -12,6 +12,9 @@ * xsltproc (part of libxslt1) is used for transforming XML files into HTML files. Version 1.0.18 or later is recommended. +Also it's possible to use Saxon XSLT Processor. Russian translator used it +(version 6.4.4) for a while. To enable it change USE_SAXON to 1 in Makefile. + Building the documentation ~~~~~~~~~~~~~~~~~~~~~~~~~~