您想知道的这个技术叫 XML 数据岛绑定 (bind),可以这么做:
<XML ID="xxx">....</XML>
<table datasrc=#xxx>
<tr>
<td><div datafld="yyy"></div></td>
</tr>
</table>
还可以看以下资料:
HOWTO: Bind to XML Data with Internet Explorer
http://support.microsoft.com/support/kb/articles/Q258/2/95.ASP
Getting Your Page's Data into a Bind
http://msdn.microsoft.com/workshop/Author/databind/dude1103.asp
DHTML Object Model Support for Data Binding
http://msdn.microsoft.com/workshop/Author/databind/objmodel.asp