Re: [xsl] param - default settings

Subject: Re: [xsl] param - default settings
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 30 Oct 2001 15:38:01 +0200
David Carlisle wrote:


<xsl:value-of select="$abs * 3"/>


that will be an error given your default value of an empty string.
If you want to default to 0, you need to select="0" in your declaration
of the param.

Ok, but why error? XPath allows convert any string even empty to a number.


--
Oleg Tkachenko
Multiconn International, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread