I m using ajax to get back xml format data. But symbols like '&' are not being parsed correctly on client side

can neone suggest an alternative ?


One Response to “I m using ajax to get back xml format data. But symbols like '&' are not being parsed correctly on client side”

  • Jake Cigar™:

    & has to be encoded as & amp; (no space). Otherwise it’s not valid XML.

    you can use responseText instead for invalid xml.

    http://www.quirksmode.org/blog/archives/2005/09/xmlhttp_notes_r.html

Leave a Reply