Hi,
I am data binding an xml file in an htm page and i want to access the id
of the element as the datafld.
For ex:
<xml id="companyTable" src="../Xml/vendor.xml"></xml>
<table id='companyTable' DATASRC='#companyTable'>
<td><span DATAFLD="NAME"><span></td>
<td><span DATAFLD="ADDRESS1"></span></td>
<td><SPAN DATAFLD='ADDRESS2'></SPAN></td>
</table>

From the xml file how do i access the id and in the datafld?
XML File......
<VENDOR id="1773">
<NAME>Northern Telecom</NAME>
<ADDRESS1>5555 Windward Pkwy</ADDRESS1>
<ADDRESS2>address</ADDRESS2>
</VENDOR>

Any help is appreciated
Thanks!