I'm trying to select nodes in an xml data island on the client side. I have come across examples, even in MSDN, of using <name of a data island>.XMLDocument. For example:
var oNode = oMetaData.XMLDocument.selectSingleNode("METADATA/ABSTRACT");This doesn't seem to work for me. When I debug the JavaScript, I find that XMLDocument is undefined. (The data island itself is defined and oMetaData.InnerXml is defined.) Is XMLDocument deprecated Is there a new way (or better way) to accomplish this I'm under the gun to get this working quickly! Please help!
where oMetaData is the name of an xml data island.
Additional information:
- I'm using XHTML 1.1 Transitional
- I am not trying to bind the data in the data island to controls, I need to select nodes within the xml data (using XPath perhaps) and work with this data in JavaScript.
Thanks in advance!