[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE:
RE:
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
<xsl:while>, MarkH | Thread | Re: <xsl:while>, David_Marston |
using jserv/jsp, David DS Barnes | Date | Re: URL decomposition, Jens Lautenbacher |
Month |
Keywords