W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: XPath and find/findAll methods

From: Simon Pieters <simonp@opera.com>
Date: Tue, 22 Nov 2011 13:05:18 +0100
To: public-webapps@w3.org, "Martin Kadlec" <bs-harou@myopera.com> (BS-Harou)
Message-ID: <op.v5cju4h6idj3kv@simon-pieterss-macbook.local>
On Mon, 21 Nov 2011 20:34:14 +0100, Martin Kadlec <bs-harou@myopera.com>  

> Hello everyone,
> I've noticed that the find/findAll methods are currently being discussed  
> and there is one thing that might be a good idea to consider.
> Currently, it's quite uncomfortable to use XPath in javascript. The  
> document.evalute method has lots of arguments and we have to remember  
> plenty of constants to make it work. IE and Opera support selectNodes  
> method on NodePrototype, which is really useful, but what's the point in  
> using it when it doesn't work in FF/Chrome/Safari.

Maybe FF/Chrome/Safari should add support for selectNodes?

Simon Pieters
Opera Software
Received on Tuesday, 22 November 2011 12:03:40 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC