On Sat, May 26, 2012 at 8:32 AM, Daniel Veillard <[email protected]> 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 <[email protected]> >> > 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? _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] https://mail.gnome.org/mailman/listinfo/xml
