XML Don't
it load the xml and give it the id "cdcat", then it can use it in the table.Code:<html> <body> <xml id="cdcat" src="cd_catalog.xml"></xml> <table border="1" datasrc="#cdcat"> <tr> <td><span datafld="ARTIST"></span></td> <td><span datafld="TITLE"></span></td> </tr> </table> </body> </html>
But this method only works in Internet Explorer .
i want to use the XML DOM, but how to assign an id to the xml i load with javascript ?


