Compare Revisions

DOMParser

Revision 37387:

Revision 37387 by shergin on

Revision 37388:

Revision 37388 by PWeilbacher on

Title:
DOMParser
DOMParser
Slug:
DOM/DOMParser
DOM/DOMParser
Tags:
DOM, HTML, XML, NeedsTechnicalReview, NeedsBrowserCompatibility, "Gecko DOM Reference"
DOM, HTML, XML, NeedsTechnicalReview, NeedsBrowserCompatibility, "Gecko DOM Reference"
Content:

Revision 37387
Revision 37388
t65    <pre class="eval">t
66const DOMParser = new Components.Constructor("@mozilla.org/xmlext
>ras/domparser;1", "nsIDOMParser"); 
67var parser = new DOMParser(principal, documentURI, baseURI);
68var doc = parser.parseFromString(aStr, "text/xml");
69</pre>

Back to History