Subject: RE: <xsl:while>
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 25 May 2000 11:02:09 +0100
|
<xsl:while> doesn't make sense unless variables can be updated, which they
can't: your <xsl:variable> element is illegal.
Saxon does have a <saxon:assign> and <saxon:while> pair of instructions, but
it's a good idea to learn to use XSLT "properly" before you resort to them.
> -----Original Message-----
> From: MarkH@xxxxxxxx [mailto:MarkH@xxxxxxxx]
> Sent: 25 May 2000 10:19
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: <xsl:while>
>
>
> My second non newbie question (see also "URL decomposition")..
>
> Is there a way (eg using <xsl:for-each>) to loop on a test
> condition such
> as...
>
> <xsl:while test="contains($xslfile,'/')">
> <xsl:variable name="xslfile"><xsl:value-of
> select="substring-after('/',$xslfile)"/></xsl:variable>
> </xsl:while>
>
> <xsl:while> is my invention and not a feature of XSLT
>
> Thanks
>
> Mark
> --
> Agile HTML Editor
> Agilic Corporation
> http://www.agilic.com
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- <xsl:while>
- MarkH - Thu, 25 May 2000 10:18:57 +0100
- <Possible follow-ups>
- Kay Michael - Thu, 25 May 2000 11:02:09 +0100 <=
- David_Marston - Thu, 25 May 2000 09:47:33 -0400
|
|