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
|