Re: Level 3 XPath doesn't feel right

On Tue, 2002-10-29 at 21:11, Dominic Chambers wrote:
> 2. The resolver, type, and attributes should be made optional for the ECMAScript binding,
>     since almost nobody will ever use them, and instead just pass nulls anyway.

As far as I know, ECMAScript (or ECMAScript implementations?) allows you
to ignore the remaining parameters, so
 document.evaluate("foo/bar", node, null, null, null)
is equivalent to:
 document.evaluate("foo/bar", node)


Philippe

Received on Thursday, 31 October 2002 10:35:10 UTC