-XSLT=../../cvstools/saxon
-XJPARSE=../../cvstools/xjparse
+include ../../cvstools/Makefile.incl
+XSLT=xt
+XSLTOPT=
+PROCOPT=
.PHONY : clean
RSTYLE=reference.xsl
BSTYLE=book.xsl
VPATH=../docsrc
-SAXVER=-6
DIRS=common lib html fo
copyright.html: copyright.xml $(RSTYLE)
$(XJPARSE) $(VPATH)/$<
- $(XSLT) $(SAXVER) $< $(RSTYLE) $@
+ $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT)
warranty.html: warranty.xml $(RSTYLE)
$(XJPARSE) $(VPATH)/$<
- $(XSLT) $(SAXVER) $< $(RSTYLE) $@
+ $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT)
reference.html: reference.xml $(RSTYLE) lib/lib.xml common/common.xml \
html/param.xml html/ebnf.xml \
fo/param.xml fo/table.xml
$(XJPARSE) $(VPATH)/$<
- $(XSLT) $(SAXVER) $< $(RSTYLE) $@
+ $(XSLT) $(PROCOPT) $< $(RSTYLE) $@ $(XSLTOPT)
index.html: documentation.xml $(BSTYLE) reference.xml
$(XJPARSE) $(VPATH)/$<
- $(XSLT) $(SAXVER) $< $(BSTYLE) $@
+ $(XSLT) $(PROCOPT) $< $(BSTYLE) $@ $(XSLTOPT)
clean:
rm -f *.html
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-<xsl:import href="../html/chunk.xsl"/>
+<xsl:import href="../html/xtchunk.xsl"/>
<xsl:param name="toc.section.depth" select="'1'"/>
<xsl:template match="olink[@type='title']">
<xsl:variable name="xml"
- select="document(unparsed-entity-uri(@targetdocent))"/>
+ select="document(unparsed-entity-uri(@targetdocent),.)"/>
<xsl:variable name="title" select="($xml/*/title[1]
|$xml/*/bookinfo/title[1]
|$xml/*/referenceinfo/title[1])[1]"/>