xsl-list
[Top] [All Lists]

RE: XSLT 2.0 - for-each with number intervals

2005-01-17 04:21:01
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(_at_)nag(_dot_)co(_dot_)uk] 
Gesendet: Montag, 17. Januar 2005 12:15
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
______________________________________________________________
__________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>