Compare Revisions

Parsing and serializing XML

Revision 14963:

Revision 14963 by Nickolay on

Revision 14964:

Revision 14964 by Nightstrike on

Title:
Parsing and serializing XML
Parsing and serializing XML
Slug:
Parsing_and_serializing_XML
Parsing_and_serializing_XML
Tags:
AJAX, DOM, XML, Extensions, Add-ons, NeedsEditorialReview, XMLHttpRequest, JSON, JXON
AJAX, DOM, XML, Extensions, Add-ons, NeedsEditorialReview, XMLHttpRequest, JSON, JXON
Content:

Revision 14963
Revision 14964
t61      If you have already have a DOM tree from using <a href="en/t61      If you already have a DOM tree from using <a href="en/XMLHt
>XMLHttpRequest">XMLHttpRequest</a>, use the same code as above bu>tpRequest">XMLHttpRequest</a>, use the same code as above but rep
>t replace <code>serializer.serializeToStream(doc, foStream, "")</>lace <code>serializer.serializeToStream(doc, foStream, "")</code>
>code> with <code>serializer.serializeToStream(xmlHttpRequest.resp> with <code>serializer.serializeToStream(xmlHttpRequest.responseT
>onseText, foStream, "")</code> where <code>xmlHttpRequest</code> >ext, foStream, "")</code> where <code>xmlHttpRequest</code> is an
>is an instance of <code>XMLHttpRequest</code>.> instance of <code>XMLHttpRequest</code>.

Back to History