guest2013-1
guest
- Joined
- Aug 22, 2003
- Messages
- 19,800
- Reaction score
- 13
Hi guys,
I want to use XMLDSO to load an XML file with datafields mapped. Normally people have examples of :
But I need to bind to an XML file that looks like this :
Any idea how I would be able to do this with XMLDSO?
Code I'm using is :
I want to use XMLDSO to load an XML file with datafields mapped. Normally people have examples of :
Code:
<parentnode>
<name></name>
<surname></surname>
<address></address>
</parentnode>
But I need to bind to an XML file that looks like this :
Code:
<parentnode>
<name></name>
<surname></surname>
<address>
<address1></address1>
<address2></address2>
</address>
</parentnode>
Any idea how I would be able to do this with XMLDSO?
Code I'm using is :
Code:
<html>
<body>
<xml id="names" src="names.xml"></xml>
<table border="1" datasrc="#names">
<tr>
<td><span datafld="Name"></span></td>
<td><span datafld="Surname"></span></td>
</tr>
</table>
</body>
</html>