RE: [xsl] XSLT 2.0 - for-each with number intervals

Subject: RE: [xsl] XSLT 2.0 - for-each with number intervals
From: "Huditsch Roman" <Roman.Huditsch@xxxxxxxxxxxxx>
Date: Mon, 17 Jan 2005 12:21:01 +0100
Hi David,

Yes, I did.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:ln="http://www.lexisnexis.at/schema/norm"; version="2.0">

Hmmm, I am using an variable with an numeric value for the interval
delimiter.
<xsl:variable name="cnt" select="count(ancestor::ln:jur_block)"/>

<xsl:for-each select="(1 to $cnt)">
	<xsl:text>test</xsl:text>
</xsl:for-each>

wbr,
Roman

> -----Urspr|ngliche Nachricht-----
> Von: David Carlisle [mailto:davidc@xxxxxxxxx]
> Gesendet: Montag, 17. Januar 2005 12:15
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: Re: [xsl] XSLT 2.0 - for-each with number intervals
>
>
> did you remember to use version="2.0" on your stylesheet?
> (Your 2.0 syntax looks correct to me, although the () aren't needed)
>
> David
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a
> proactive anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________

Current Thread