Re: DOM 1 or DOM 2 analogs to MSXML3 extensions
"pmb" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Thank you Neil. Does latest Firefox conform to DOM3 spec? -pmb "Neil Deakin" <[email protected]> wrote in message news:[email protected]... > Paul wrote: > > Hi All, > > > > I am thinking about porting to Mozilla (Firefox?) a large Windows IE-based > > DHTML/XML/XSL application. > > > > Surmounting the activeXObject stuff was easy. But I am wondering about a > > 'best practices' way of replacing certain MS extensions to the W3C spec. > > Specifically, > > MS provided some very useful XML DOM functions like selectSingleNode and > > selectNodes. Each takes a valid XPATH expression and returns one (or more) > > matching node(s). > > > > Does any one know a good Mozilla-related analog for these (and others)? > > > > Thank you. > > > > -pmb > > > > > > > > For this, you would use the DOM3 XPath api: > > http://www.w3.org/TR/DOM-Level-3-XPath/ > > Specifically, document.evaluate(...) > > / Neil