Re: [libxml++] Patch for Node::find( nonexistent_xpath ) to retur n empty NodeSe t
- From: Stefan Seefeld <seefeld sympatico ca>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] Patch for Node::find( nonexistent_xpath ) to retur n empty NodeSe t
- Date: Wed, 07 May 2003 09:12:13 -0400
Murray Cumming Comneon com wrote:
Long term the right way is to do what Stefan Seefeld suggested,
returning an XPathResult that unifies NodeSets and other
xpath return types. I'm not bothering to do that yet,
since I have not decided whether to use libxml++
or Xerces or xml4c, the IBM C++ binding.
Someone should look at Java's Xerces API to see what that does. I think it's
a fairly well-thought-out interpretation of the XML specs. Your fix is fine
in the meantime.
xerces doesn't have an API for xpaths as far as I can see.
Stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]