xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor