I’m using the url-retrieve-synchronously function and it returns a buffer which contains the response. I’m wondering if there’s a non-hacky way to get the body of the response and to be able to pass it to xml-parse-region.
Is there an xml-parse-from-url function? how do I parse the response from url-retrieve?
In identica-mode.el (licensed under the GNU GPL version 2) there’s a function that will use url-retrieve and pass it to the xml parser and returned the parsed response: