Hi
I was wondering whether anyone has any tips on binding a deeper XML hierarchy in HTML, i.e. binding a XML set that has several levels in the hierarchy. As far as I know, binding XML is only possible at first level:
<xml id='XMLExample'>
<data>
<row>
<customer>A & B Computers</customer>
<description>Computer Retailer</description>
<active>0</active>
</row>
<row>
<customer>Consumer Marketing</customer>
<description>Advertising Agency</description>
<active>1</active>
</row>
</data>
</xml>
<table datasrc='#XMLExample' border='0' class='tablelayout'>
<tr>
<td><input datafld='customer'></input></td>
<td><input datafld='description'></input></td>
<td><input datafld='active' type='checkbox'></input></td>
</tr>
</table>
But what if XML was like following:
<xml id='XMLExample'>
<data>
<row>
<customer>
<name>A & B Computers</name>
<id>123</id>
</customer>
<description>Computer Retailer</description>
<active>0</active>
</row>
<row>
<customer>
<name>Consumer Marketing</name>
<id>456</id>
</customer>
<description>Advertising Agency</description>
<active>1</active>
</row>
</data>
</xml>
How would I bind HTML objects to <name> and <id> tags. I tried XPath syntax, but it wouldt bind.
Thanks a million
Daniel
Danijel