Re: XMLDocument.evaluate is not a function
Emmanouil Batsis <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Gary van der Merwe wrote: > I'm still stuck with this. > > I think I read somewhere that XPath is an optional build component, but > I checked > http://lxr.mozilla.org/mozilla/source/calendar/sunbird/config/mozconfig > and there is no --disable-xpath. I don't realy understand how the build > system's options work, so I'm not sure wether or not the XPath is ment > to be there or not. > > Can any one assist me here? This may be irrelevant but since there is no other answer... AFAIK, XmlHTTPRequest.responseXml is a DOM compatible object but not actually an XMLDocument, so it may actually not support evaluate as XMLDocument and Document do. You could try to reparse, or better, copy the nodes into an XMLDocument and use that for XPath evaluation. hth. Manos