[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: normalize-space function


Subject: RE: normalize-space function
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 29 Feb 2000 09:40:22 -0000

>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



Current Thread
Keywords
xsl