According to the W3C recommendation, an XPahEvaluator object could be obtained by a cast of a Document implementation.
That works if and only if that particular DOM implementation supports the DOM Xpath feature. Most don't.
My DOM implementation is xerces and at the question impl.hasFeature("XPath", "3.0")
the response is true.
So I guess, it's a good answer...
If yours doesn't, consider using a stand-alone implementation of the XPathEvaluator which runs on top of a DOM -- I think Xalan provides one, though I haven't checked at all recently -- or using Xalan's own XPathAPI/CachedXPathAPI calls.
Well I really want to use independant API, especially the W3C ones.
thanks
regards
-- XPath free testing software : http://www.opikanoba.org/lantern/ Fr�d�ric Laurent http://www.opikanoba.org
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
