[xml] xmlXPathRoot error?

Date view Thread view Subject view Author view

From: Bjorn Reese (breese@mail1.stofanet.dk)
Date: Fri Oct 20 2000 - 09:02:24 EDT


Something appears to be wrong in xmlXPathRoot(), but I am not sure
how it is supposed to work.

The following XPath expression works:

  concat(string(/doc/value/text()),"hello")

The following does not. It exits at the "CHECK_TYPE(XPATH_NODESET);"
line in xmlXPathRoot():

  concat("hello",string(/doc/value/text()))

The XML document to which the XPath expressions are applied is:

  <doc><value>something</value></doc>

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Oct 20 2000 - 09:43:40 EDT