|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: normalize-space function
>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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








