found that fop does not support normalize-space().
FOP doesn't support XPath at all, it takes an XSL-FO document (typically
but not necessarily) generted by by XSLT and typesets it.
You are using Xalan not FOP to process the XSLT. The error comes from
<xsl:apply-templates select="normalize-space(covers)"
you can only apply templates to a node set, and normalize-space returns
a string, which is therefore not a node set.
What you want to do is normalize the white space in the result, not the
input, so
<xsl:variable name="x">
<xsl:apply-templates/>
</xsl:variable>
<xsl:value-of select="normalize-space($x)"/>
or if your covers elemnt doesn't have element children just text you
dont want to apply templates at all, just
<xsl:value-of select="normalize-space(.)"/>
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--