text to XML object (E4X)
hluz <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hi everyone. I'm having a problem with creating a XML object from a document received via XMLHTTPRequest. The following code: var x = new XML(responseText) gives javascript error: xml is a reserved identifier. If I remove the <?xml version="1.0"?> line from responseText before using it, it works fine. Any ideas?