i am very new to xml, but i am under a time crunch and need to do something fast.
I have an xml document that is going to be updated weekly by someone else that just has basic info in it with nested elements.
I just want to display the elements in a table inside of a html document with other things on the page. I have tried to use a data island example by using the xml tag and using spans with the appropriate datafld idenifier to pull the info out. The problem is that I can't find anywhere how you get further down a node. The example i am using only works for the root level nodes.
There seems to be a thousand ways of getting xml into a page, it is bewildering me and i just want a simple answer for now until i have time to learn everything about xml. Any help is appreciated. Thank you.
sample code: (but what if artist had child nodes? how do i get there?)
<xml id="cdcat" src=http://www.webdeveloper.com/forum/archive/index.php/"cd_catalog.xml"></xml>
<table border="1" datasrc="#cdcat">
<tr>
<td><span datafld="ARTIST"></span></td>
<td><span datafld="TITLE"></span></td>
</tr>
</table>
I have an xml document that is going to be updated weekly by someone else that just has basic info in it with nested elements.
I just want to display the elements in a table inside of a html document with other things on the page. I have tried to use a data island example by using the xml tag and using spans with the appropriate datafld idenifier to pull the info out. The problem is that I can't find anywhere how you get further down a node. The example i am using only works for the root level nodes.
There seems to be a thousand ways of getting xml into a page, it is bewildering me and i just want a simple answer for now until i have time to learn everything about xml. Any help is appreciated. Thank you.
sample code: (but what if artist had child nodes? how do i get there?)
<xml id="cdcat" src=http://www.webdeveloper.com/forum/archive/index.php/"cd_catalog.xml"></xml>
<table border="1" datasrc="#cdcat">
<tr>
<td><span datafld="ARTIST"></span></td>
<td><span datafld="TITLE"></span></td>
</tr>
</table>