Ajax & Javascript & Xml: Adding Dom Elements To Array Not Working
I am fetching some XML from Flickr and want to parse it based on DOM. can't get my code to work with the following: ... if (this.responseXML != null) { content = this.r
Solution 1:
The problem seems to be that you're given a string rather than an XML DOM object. In order to create a XML DOM Object, you'll need to parse the XML string. This stackoverflow thread has some good code and discussion as to what the best way to parse the XML might be.
Post a Comment for "Ajax & Javascript & Xml: Adding Dom Elements To Array Not Working"