|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








