Re: [xml] Re: [gnomemm] ANNOUNCE: libxml++ is now sane.



On Wed, Nov 20, 2002 at 02:17:13PM -0800, Sean Chittenden wrote:
I, too, have an API enhancement suggestion: Please consider a
method 'Node::lookup(const std::string &xpath)' that does an xpath
lookup (surprize !) and returns a NodeSet. I'v written my own C++
wrapper around libxml2 and this method is incredibly useful in my
work...

Seconded, I did that for the Python bindings too and use it
everywhere It's extremely convenient.

The ruby API uses the method 'find' and accepts an xpath expression.
Could we standardize all of these language bindings on a single name?

  Hum, that would be "evaluate" <grin/>
    http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]