Subject: [xsl] Variables From: "Mengel Andre (FV/SLM) *" <Andre.Mengel@xxxxxxxxxxxx> Date: Thu, 17 May 2001 13:04:03 +0200 |
Dear all, Could someone explain me the following example of the W3C specification <xsl:variable name="n">2</xsl:variable> ... <xsl:value-of select="item[$n]"/> This will output the value of the first item element, because the variable n will be bound to a result tree fragment, not a number. (See chapter 11.2) What is the reason for outputing the value of only the first item element ? Best regards XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] templates, not nested, Julie Mc Cabe | Thread | Re: [xsl] Variables, Jeni Tennison |
[xsl] templates, not nested, Julie Mc Cabe | Date | [xsl] xsl:variable within xsl:choos, Rene de Vries |
Month |