This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: param - default settings
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] param - default settings
- From: Oleg Tkachenko <olegt at multiconn dot com>
- Date: Tue, 30 Oct 2001 13:16:03 +0200
- Organization: Multiconn International
- References: <3BDE7216.3030304@globalpark.de> <20011030114356.D24249@dragon.blacknet.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Goetz Bock wrote:
>> <xsl:param name="abs" select="1" />
>>
> This would select the value of the <1> node in the current context,
> there is no such node and the nodename is invalid anyway
I don't think so, 1 belongs to number type, not to node-set, so the
param will contain just 1 as number.
>
> but
>
> <xsl:param name="abs" select="'1'"/>
And this one will contain 1 as string.
>
> or
>
> <xsl:param name="abs">1</xsl:param>
And this one as RTF with the only text node that in turn contain 1 as
string value.
--
Oleg Tkachenko
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list