[jQuery] Getting the xml string after a jquery ajax call
I am retrieving an xml file and using jquery to parse it, which is all
working wonderfully.
My problem is that I need to pass the same xml as a string on to some
other parts of my system.
I can't figure out how to get jquery to give me the string version, so
I tried to change the dataType of the xmlhttprequest to text, save it
in a var, and then have jquery parse it, but that isn't working
either.
What's the best way to have the xml as a string and as a properly
parsed jquery DOM object?
Thanks!