Altova Mailing List Archives
>xsl-list Archive Home
>Recent entries
>Thread Prev - [xsl] for-eaching for specified number of times
[Thread Next]
Re: [xsl] for-eaching for specified number of times
To:
Date: 1/21/2004 10:28:00 AM
Hi Jeff, Thanks for the answer. I'm now going to ask a couple of really stupid questions. I have no idea how to use XSLT 2.0. I assume that I would have to change the version number in my namespace declaration to 2.0 instead of 1.0 and that I would also need an XSLT engine that handles it. We use Saxon, which ships with latest FOP. Do you know if this would do the job. Is there anything else we would have to do? Regards, Mark ----- Original Message ----- From: "Jeff Kenton" <jkenton@xxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, January 21, 2004 8:15 PM Subject: Re: [xsl] for-eaching for specified number of times > Mark Williams wrote: > > Hi, > > > > Is there a way of terminating a for-each loop after it has reached a > > specified number of iterations. > > In XSLT 2.0, you can: <xsl:for-each select="(1 to 100)" > ... > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Disclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

