Is it possible to use multiple object models simultaneously in one xpath expression? The main reason for me to do that is to have a DOM variable and a ‘java-bean’ variable, and to be able to compare values between them in a single expression. The javadoc suggests this is not possible, but is not very explicit:

 

javadoc of org.jaxen.VariableContext says:

 

“When a variable is bound to a node-set, the actual Java object returned should be a java.util.List containing XML nodes from the object-model (dom4j, JDOM, DOM, EXML) being used with the XPath.”

 

Ruud Diterwich

 

Reply via email to