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

RE: <xsl:while>

Subject: RE: <xsl:while>
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 25 May 2000 11:02:09 +0100
xsl while
<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

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.