Bruno Rondepierre wrote:
THE XSL FILE (tstBookmark.xslfo)
Problem solved. You hit a Xalan bug.
If you've looked into the log (hopefully, there *is* a log),
you'd have seen FOP error messages containing:
"...unknown...null^outline..."
-----------------Begin
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
...
<xsl:template match="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fox="http://xml.apache.org/fop/extensions">
...
</fo:root>
</xsl:template>
<!-- Bookmark: book's type -->
<xsl:template match="booktype" mode="toc">
<fox:outline internal-destination="[EMAIL PROTECTED]">
<fox:label><xsl:value-of select="label"/></fox:label>
At this point, the fox: namespace prefix is undeclared.
The declaration above in the fo:root element has gone out of
scope. The processor should have complained about this.
Move the declaration for the fox: prefix to the xsl:stylesheet
element. BTW the fo: declaration on fo:root is redundant.
J.Pietschmann