Re: Node.prototype.selectNodes function problems
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
[email protected] wrote: > I'm calling the method on the document itself. It's a pretty standard > soap document, with above mentioned namespaces and a default namespace > of "xmlns='http://myservice.com'", and I'm using an XPathExpression of > "//Mastercolumn". I'm sorry I can't paste the document here, for > testing purposes, but the code is on my laptop which isn't connected to > inet or the network. > > Am going into the right direction with that array that I made? If you have a default namespace then you need to bind a prefix to it to have an XPath expression selecting elements in that default namespace, see <http://www.faqts.com/knowledge_base/view.phtml/aid/34022/fid/616> -- Martin Honnen http://JavaScript.FAQTs.com/