Subject: Re: [xsl] is the variable really out of scope?? From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 6 Dec 2002 09:35:04 GMT |
you do need two choose statements, but don't do this <xsl:variable name="s">4.79</xsl:variable> do this <xsl:variable name="s" select="4.79"/> the second makes s a variable with value the number 4.79 the first makes s into a result tree fragment with a document node# having a unique identity, contianing a text node with value the string "4.79" when used in a numeric expression the second can be used directly but the first will be first coerced to the string "4.79" and then finally back to the number 4.79. 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] is the variable really ou, Gunther Schadow | Thread | RE: [xsl] is the variable really ou, Michael Kay |
[xsl] Re: applying templates to all, Dimitre Novatchev | Date | RE: [xsl] sequential navigation pro, Michael Kay |
Month |