This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: variable declaration
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] variable declaration
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 19 Mar 2001 16:01:17 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> I am trying to build an exercice for my students.
In that case you should definitely not be using an obsolete dialect such as
WD-xsl.
> 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.
>
If xsl:for-each in XSLT has no effect, then you are using it wrongly; apart
from that, all is guesswork.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list