I need to retrieve the value of an XML element within XSL. Although my JavaScript is able to select one XML document, there are elements in other documents that I also require.
I am uncertain if this task is feasible or if my syntax is incorrect.
This is the code snippet that I currently have:
<td>
<xsl:value-of select="document(newXMLfile.xml)/Customers/customer/type" />
</td>
The XML structure of the new file is as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Customers>
<customer>
<Order>12000</Order>
<ID>200</ID>
<Date>1 Sep 2010</Date>
<type>true</type>
</customer>
</Customers>