xsl-list
[Top] [All Lists]

Re: Sintaxis of ROW[(@id >= 1) and (@id <= 10)]

2003-11-13 15:33:31
On Wednesday 12 Nov 2003 17:15, Jaime A Stuardo Bahamondes wrote:
ROW[(@id >= 1) and (@id <= 10)]

The numbers 1 and 10 are nodes of the XML tree. How's the syntax? I tried
using general syntax (../paging/number) but it didn't work. I also tried
using parent::paging/number, but it didn't work either.

What about using the number() function:

ROW[(@id >= number(../paging/number)) ...]

Also, what about the xsl:for-each-group element in XSLT2?
(http://www.w3.org/TR/xslt20#grouping)

Cheers,
Richard


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list