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

Subject: Re: [xsl] Sintaxis of ROW[(@id >= 1) and (@id <= 10)]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 12 Nov 2003 17:21:11 GMT
@id &gt;= number(../paging/window)

you don't need number() there as &gt; will coerce its arguments to be
numeric automatically.

Most likely it is the wrong path. the above would work if 
paging is a sibling of ROW and has a child called window,
but I suspect that ROW and paging are not children of the same parent,
so the xpath selects nothing.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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


Current Thread