ath returned no nodes, then search
the archives of the mailing list for "PrefixResolver" to understand how to
make this work with Xalan-C. You will need to modify the SimpleXPathAPI
sample to make this work.
Dave
on path "/Revision"
But if I remove the xmlns="http://www.w3schools.com"; it works.
Thanks,
Tal
--
View this message in context:
http://www.nabble.com/SimpleXPathAPI--problem-with-xmlns-tf4701692.html#a13440395
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
> The two sample programs, SimpleXPathAPI and XPathWrapper,
> both read XML, find the context node and evaluate the given
> XPath expression. My question is what is the difference between
> these two samples.
XPathWrapper is a very old sample that uses internal interfaces.
> I
The two sample programs, SimpleXPathAPI and XPathWrapper, both read XML,
find the context node and evaluate the given XPath expression. My question
is what is the difference between these two samples.
If I'm writing a program that evaluates a given XPath expression for a given
XML doc
cc: (bcc: David N Bertoni/Cambridge/IBM)
I am using AIX 5.2, Xerces C++ 2.4 and Xalan 1.7.
When I run the SimpleXPathAPI binary it works all OK, but I pretty much
copied the code to my own program and it doesn't work.
The code is:
int
main(
int argc,
char* argv[])
{
XALAN_USING_STD(cerr)
XALAN_USING_STD
cc: (bcc: David N Bertoni/Cambridge/IBM)
I'm pretty doing what SimpleXPathAPI does (almost line by line).
When I run the SimpleXPathAPI it works fine, but when I run my program,
I get:
./_foo _foo.xml itXML "/itXML/TX"
Assertion failed: manager != 0, file XMemory.cpp, line 102
Abort(coredump)
I rounded it down to th