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

RE: variable declaration

Subject: RE: variable declaration
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Mon, 19 Mar 2001 15:55:46 +0100
functional programming variable declaration
> my idea is to create a variable:
> <xsl:variable name="niv" select="time_table/enseignement@niveau" />
> and do an xsl:for-each on this variable, but I cannot create
> it with xmlns:xsl="http://www.w3.org/TR/WD-xsl"
> and with xmlns:xsl="http://www.w3.org/1999/XSL/Transform" I cannot
> use xsl:for-each, it has no effect.
> 
> 
> Do you have some idea of the problem ?

Your problem, like I said, is that you have an old XSL processor (MSXML2
with ie5) which supports an old draft of XSL. If you use the WD-xsl
namespace you can't use variables, if you use
http://www.w3.org/1999/XSL/Transform (the XSLT standard) MSXML2 won't work
because it doesn't know it. 

My advice would be to select an up-to-date XSLT processor (e.g. Saxon) and
instruct your students to use that with
http://www.w3.org/1999/XSL/Transform. 

Linda

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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.