RE: [xsl] to get the descendants at only one level - xpath

Subject: RE: [xsl] to get the descendants at only one level - xpath
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 6 Feb 2008 17:38:18 -0000
> > what is the xpath query to get the descendants only at one level.
> 
> the axis you are looking for is the child axis so
> 
> 
> /root/level1/child::*

Or if you want everying at level 3 regardless of the names of any elements
at intermediate levels, you can do

/*/*/*

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

Current Thread