Im using the following code to try and add in the contents of a product.xml file:
<xsl:for-each select="document('products.xml')/models/model"/>
But it doesnt show up anything on the page. Ive got a funny feeling that im missing something, and knowing me i am, i was hoping someone could shed some light on this for me????
The layout of my product.xml file is:
Expand|Select|Wrap|Line Numbers
- <models>
- <model>
- <name></name>
- <price></price>
- <include>
- <dept></dept><sub-dept></sub-dept>
- </include>
- </model>
Thanks in advance.
Rich