Hi,
I've been trying to use Xpath api but I had a lot of problems
and until now, I wasn't able to evaluate any _expression_.
As I've sent some days ago, I've tried to run the sample
XPathWrapper, but it throws a assertion failed (I explained in another
mail).
I'm using xerces 2.2 and xalan 1.5 (windows NT).
Then, I've tried to use the SimpleXPathAPI sample. First, I've
run the binary with the same parameters of the sample in the page:
SimpleXPathAPI foo.xml /
'//name[position()="4"]/@first'
the result is:
//name[position()="4"]/@first
the exact xpath _expression_.
Then, I've tried compiling the sample and it throws a
exception in line:
XalanDocument* const theDocument
=
theLiaison.parseXMLStream(theInputSource); I suppose that the problen is in xerces, but I'm using version
2.2 as the page says.
I really don't know what can I do with this.
Please help me,
Thanks in advance,
Pablo
|
- Re: Exception using xpath api Pablo Yabo
- Re: Exception using xpath api david_n_bertoni