This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Variables
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Variables
- From: "Mengel Andre (FV/SLM) *" <Andre dot Mengel at de dot bosch dot com>
- Date: Thu, 17 May 2001 13:04:03 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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