xsl-list
[Top] [All Lists]

Re: [xsl] Unexpected Context Node at Points in XPath Expression

2007-09-04 17:17:34
OK, thanks, I think it might. I'll mull it over.

following has context node a for position(), but beware, it is in the
third predicate, so it counts only the subset selected by the earlier
predicates.
a[count(b/c/*) = '12'][b[(_at_)x = 'rr']][position() = 2]


HTH,

-- Abel Braaksma

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