This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: param - default settings
> This would select the value of the <1> node in the current context,
> there is no such node and the nodename is invalid anyway
No, it would select the value 1.
> but
>
> <xsl:param name="abs" select="'1'"/>
>
> or
>
> <xsl:param name="abs">1</xsl:param>
>
> both work.
but they do something different, they select the string '1' and the
result tree fragment consisting of a root node and a text node with
value 1, respectively.
The original poster's xsl fragment was correct, so either he is using a
processor that doesn't support passing in global params, or there was
something wrong in th epart of teh stylesheet that wasn't posted.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list