xsl-list
[Top] [All Lists]

RE: XSLT 2.0 - for-each with number intervals

2005-01-17 04:18:26
Hi,

Sorry for bothering you with this simple question:
I read in my XSLT 2.0 book that it should be possible to do the
following:

<xsl:for-each select="(1 to 5)">
      Output
</xsl:for-each>

Unfortunately, using Saxon 8.2 I get an error pointing to the 
expression
in my @select.
Could you point me to the rigth syntax, please?
I also tried to(1, 5) but with no success either.

  <xsl:for-each select="(1 to 5)">

is correct XSLT & Xpath, and works for me with Saxon 8.2. Are you sure the 
error is the expression and not something else?

Cheers,

Jarno

--~------------------------------------------------------------------
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>