Re: [xml] relative xpath matches nodes anywhere in tree
- From: Noam Postavsky <npostavs users sourceforge net>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] relative xpath matches nodes anywhere in tree
- Date: Sat, 26 May 2012 12:09:09 -0400
On Sat, May 26, 2012 at 8:32 AM, Daniel Veillard <veillard redhat com> wrote:
On Fri, May 25, 2012 at 06:19:49PM -0400, Noam Postavsky wrote:
On Fri, May 25, 2012 at 11:38 AM, Daniel Veillard <veillard redhat com>
ÂxmlXPathNewContext doesn't set the context node, it set it to NULL,
if you keep it NULL all relative evaluations will fail (which sounds
the right thing to me at the XPath level) but kind of weird from an
user point of view, so initializing to the document node sounds the best
to me.
Sure, but is there a way for a user to discover this, beside asking on
the mailing list?
ÂHum, no it's really specific to xmllint, this could be added to the
man page :-)
Isn't this important info to anyone who uses one of the XPath
evaluation functions?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]