Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XML DSO problem when XML elements have attributes XML DSO problem when XML elements have attributesTo: NULL Date: 10/6/2008 1:23:00 AM Hi, I am trying to use the built-in XML/HTML data binding in Internet Explorer using XML DSO. E.G. I have the following html code: <html><body> <xml src="doc.xml" id="xmldso" async="false"></xml> <table datasrc="#xmldso" width="100%" border="1"> <tr><td><span datafld="NAME"></span></td></tr> </table> </body></html> And the following doc.xml file: <START><NAME>Joe Bloggs</NAME></START> Everything works fine i.e. "Joe Bloggs" appears in the HTML page until I add an attribute to the XML element. E.G. if my doc.xml file looks lke this ... <START><NAME ID="abc">Joe Bloggs</NAME></START> ... then it fails i.e. no data is displayed in the HTML as soon as the "ID" attribute is added to the "NAME" element. If I have multiple elements in the XML file then only the elements that don't have attributes are displayed. Is there something else I need to do to "tell" DSO to ignore the XML element attributes or is there a different way of referencing the element (within the HTML) if it has attributes? Regards Rod | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
