RE: [xsl] preceding-sibling axis scope

Subject: RE: [xsl] preceding-sibling axis scope
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 16 Apr 2009 13:13:10 +0100
> 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/

Current Thread