This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: normalize-space function
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: normalize-space function
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 29 Feb 2000 09:40:22 -0000
- Reply-To: xsl-list at mulberrytech dot com
>I am using normalize-space() function and when i run it in Saxon i get an
error stating >"User function normalize-space not found".
>Does Saxon not support this?
The function is certainly supported, and I've tested the XSL fragment below
and it runs fine.
Since I can't find this error message in the code I suspect you are using a
very old version of Saxon. The function used to be called "normalize()".
Mike Kay
<xsl:variable name="tmpimage"> <xsl:value-of select="IMAGE"/></xsl:variable>
<xsl:variable name="tmphref"> <xsl:value-of select="HREF"/></xsl:variable>
<xsl:if test="(normalize-space($tmpimage)=true())">
<p><a href="{$tmphref}"><img src="{$tmpimage}" width="100" height="50"
border="0"/></a></p>
</xsl:if>
Any help?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list