JXPath cannot, by design, step upward from the root. The rationale is that you cannot really do that in any meaningful fashion when you are working with Java Beans graphs. So, for consistency, it does not do that for XML structures either.
However, if you create a JXPathContext passing the document root as the argument and then take a relative context from it, you will be able to step up to the real document root. I hope this helps, - Dmitri --- Psi Aushilfe3 <[EMAIL PROTECTED]> wrote: > Hi! > > Are there known problems with .// xpaths? My JXPathContext is not > root > but a quite deep node and there are only a few further descendants > but > it hogs my CPU and seems to never actually finish the task (I didn't > wait so long). > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
