Re: [xml] xpath2.c



On Tue, Dec 05, 2006 at 05:05:47PM +0100, GORKA VELEZ wrote:
I'm trying to build an aplication to change the content of an element in a xml document and I've found the 
xpath2.c example that looks great, but it doesn't do what i expected: it never resolves an xpath expression.
I run the program as the documentation says and I get the same xml document printed, nothing changes.

xpath2 test3.xml '//discarded' discarded

or

xpath2 test3.xml '//discarded' whatever


  that works for me, and that's part of libxml2 regression tests,
you may have a non-working libxml2, or you misunderstood something.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]