I am not familiar with xml. I have an xml document structured like below:
<?xml version="1.0" encoding="UTF-8"?>
<a:b xmlns="something">
<a:c>
<d>
<e>
<item>item1</item>
<item>item1</item>
<item>item1</item>
</e>
</d>
<a:c>
<a:b>
I want to get the node "e" to retrieve its child items in my xslt as below:
<xsl:variable name="Product" select="document('itemList.xml')/node()[1]/node()[0]/node()[0]/node()[0]"/>
But it is not working. Kindly suggest the right way to do it. Also, is the first node refered by node()[0] or node()[1]? Links to articles for a good understanding of this node concept of xml are welcome.