[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Variables

Subject: Variables
From: "Mengel Andre (FV/SLM) *" <Andre.Mengel@xxxxxxxxxxxx>
Date: Thu, 17 May 2001 13:04:03 +0200
 Variables
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
  • Variables
    • Mengel Andre (FV/SLM) * - Thu, 17 May 2001 07:04:16 -0400 (EDT) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.