[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: normalize-space function

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.