the xml file is like this:
<products>
<product>
<id>1</id>
<name>pen</name>
</product>
<product>
<id>2</id>
<name>pencil</name>
</product>
</products>
<employees>
<employee>
<name>Jack</name>
<employee>
<employee>
<name>Mark</name>
<employee>
</employees>
Can I only get the <name> nodes which are the childen of <product>? Is there well adapted xpath api in javascript dom?