Assuming the XML posted here is correct, you can use the
.find()
selector to get the element value like below. Again, I have to assume that the data return is XML type object.
console.log($(data).find("raw_text").text());
if not, here an example on how to parse a string into
XML
object
Cp_xml find node - JSFiddle[
^]