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