I have an xml document that I have made that I am converting into a html page using xsl and asp. When I have one sub node(item) under the main node(content) the DOMDocument returns null, but when it has only one subnode(item) the page displays perfectly. The xml is structured like this:
<content attribute1="example" attribute2="example">
<item attribute1="example" attribute2="example">
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
</item>
<item attribute1="example" attribute2="example">
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
</item>
</content>
The field nodes seem to have no effect on the Dom object. Can anyone help!!
Thanks in advance
<content attribute1="example" attribute2="example">
<item attribute1="example" attribute2="example">
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
</item>
<item attribute1="example" attribute2="example">
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
<field attribute1="example" attribute2="example"/>
</item>
</content>
The field nodes seem to have no effect on the Dom object. Can anyone help!!
Thanks in advance