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

Subject: [xsl] to get the descendants at only one level - xpath
From: "Senthil Nathan" <rsennat@xxxxxxxxx>
Date: Wed, 6 Feb 2008 22:31:49 +0530
hi,
what is the xpath query to get the descendants only at one level.

i tried /root/level1/descendants. but couldnt get that.
i need to select only child1, 2, 3.

suppose the xml is,
<root>
  <level1>
      <child1/>
      <child2/>
      <child3>
            <child31/>
             <child32/>
       </child3>
   </level1>
</root>

thanks
senthil

Current Thread