xsl-list
[Top] [All Lists]

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

2003-11-12 10:31:17

  That's the strange thing, because if I write:

  <xsl:value-of select="../paging/window" />

Well that explains it then.

If that works paging is a sibling of the current node, and window is a
child of paging (It would have been easier if you'd shown the input,
save all this guessing)

assuming that
ROW[(@id &gt;= 1) and (@id &lt;= 10)]
is the complete expression you used from that point, then ROW is a child
of the current node, so to reach window from there you will need
ROW[(_at_)id &gt;= ../../paging/window) and (@id &lt;= 10)]

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