Re: Sequences of numeric values in XPath predicate expressions

> Use: Since <xsl:copy-of> can now be used to copy a sequence of items,
> it would be excellent if one could write

<xsl:copy-of select="foo[1 to 4]"/>


Note you could (and can, even in xslt1) do
<xsl:copy select="foo[position() &lt; 5]"/>
to get this effect, which isn't so much more verbose than the to syntax
(which I agree would be nice to have if it could be done without further
complicating the interaction between numeric and boolean valued
predicates)

David
(note this is an external comment, I'm not a WG member)

Received on Wednesday, 4 June 2003 17:32:41 UTC