Talk:Parsing and serializing XML
From MozillaZine Knowledge Base
"Serializing DOM trees to files" section doesn't make any sense at all when it's talking about xmlhttprequest. If you wanted to write about saving remote files' contents, it would better be on xmlhttprequest's page.
What's the idea behind "Serializing XMLHttpRequest objects to files" paragraph? I ask because this example is incorrect:
serializer.serializeToStream(xmlHttpRequest.responseText, foStream, "IS0-8859-1");
it either should serialize xmlHttpRequest.responseXML or just write responseText to the stream. If one just wants to write the result of GET request to a file, it makes no sense to serialize parsed responseXML. asqueella