xsl-list
[Top] [All Lists]

RE: [xsl] preceding-sibling axis scope

2009-04-16 08:13:42

When I have a reference like this...

current-group()[preceding-sibling::elemA]


This will select those nodes within current-group() that have a
preceding-sibling element whose name is elemA. A preceding-sibling is a node
that shares the same parent (and comes earlier).

Michael Kay
http://www.saxonica.com/


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

<Prev in Thread] Current Thread [Next in Thread>