This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: <xsl:while>
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: <xsl:while>
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 25 May 2000 11:02:09 +0100
- Reply-To: xsl-list at mulberrytech dot com
<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@i2.co.uk [mailto:MarkH@i2.co.uk]
> Sent: 25 May 2000 10:19
> To: xsl-list@mulberrytech.com
> 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