Re: XML Parsing
Eugene Prokopiev <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
>> var doc =
>> document.implementation.createDocument("http://schemas.xmlsoap.org/wsdl/","wsdl",null);
>>
>> doc.load("people.wsdl");
>
>
> This is async, the rest of the code needs to go into the onload handler.
> See http://www.mozilla.org/projects/xslt/js-interface.html for sample code.
Thanks
Where can I read about Document events? Has it error event? How can I
handle it?
Why this code don't show alert:
var doc = document.implementation.createDocument("","",null);
doc.addEventListener("load", onload, true);
doc.load("people.wsdl");
function onload() {
alert(doc);
}