[prev in list] [next in list] [prev in thread] [next in thread]
List: xalan-c-users
Subject: XPath context problem
From: Jaspreet Singh <Jasingh () quark ! co ! in>
Date: 2004-08-04 5:44:51
Message-ID: 85D4576054865746A6F4D78FC1776A3F01AEC8FA () ind-mx1 ! quark ! co ! in
[Download RAW message or body]
Hi
I can't evaluate an xpath expression from a given context node.
i construct a XercesElementWrapper by giving the context node and a
wrapper navigator (initialized to my dom document).
if i pass the context as the document element then the expression
evaluates successfully. otherwise the result is null.
the usage is quite cumbersome.. i have to instantiate multiple classes
and things aren't very clear.
also, if the expression is /root/... then its ok (with document element
as the context) but if i change the expression to root/... or
./root/... then there is a crash.
Thanks
Jaspreet
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic