commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Psi Aushilfe3" <Aushilfe3....@prosieben.de>
Subject AW: JXPath: "parent-of-self" (descendent-of-self)
Date Thu, 31 Jul 2003 07:43:14 GMT
> use "ancestor::*" to access all ancestor nodes up the the root node
> (or replace * with something more restrictive). Peter

JXPathContext jx = JXPathContext.newContext(root);
Object o = (Object)jx.getValue("ancestor::*");

o is null ...


Mime
View raw message