This example demonstrates receiving XML content as a response. Note: For display purposes, the XML string is serialized into a string, which makes it identical to the value already in responseText (so that line is commented out for easier readability).