This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] xmlns:fo breaks xsl cust layer
- From: Sean Wheller <sean at enbaya dot co dot za>
- To: "'DOCBOOK-APPS'" <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 10 Feb 2004 22:15:36 +0200
- Subject: [docbook-apps] xmlns:fo breaks xsl cust layer
- Organization: Enbaya
- Reply-to: sean at enbaya dot co dot za
Hi,
Found this hack and decided it was a good idea for my current purpose.
http://sources.redhat.com/ml/docbook-apps/2003-q2/msg00849.html
But when I add the xmlns:fo to the xsl:stylesheet I get:
F javax.xml.transform.TransformerException: ElemTemplateElement error:
inline.boldmonoseq
The offending parts are as follows:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<!-- Inline Formatting -->
<xsl:template match="filename">
<xsl:call-template name="inline.boldmonoseq"/>
</xsl:template>
<xsl:template match="application">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="guibutton">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
<xsl:template match="guilabel">
<xsl:call-template name="inline.italicseq"/>
</xsl:template>
<!-- Page Break use <?pagebreak?;> to insert a page break -->
<xsl:template match="processing-instruction('pagebreak')">
<fo:block break-after="page"/>
</xsl:template>
When I comment the whole of the Inline Formatting templates the xsl is valid.
Any ideas?
---------------------------------------------------------------------------------------------------
Sean Wheller
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.