It should return objects of the model expected by the Navigator you're
using.  So, if you started with a DOM model and a DOM XPath and a DOM Navigator,
then having $foo return a dom4j.Document won't work, since the Navigator
knows nothing about it.

There's been talk about an UberNavigator which can divine the appropriate
concrete Navigator instance to use, but that has yet to be implemented,
I think.

        -bob

On Mon, 30 Sep 2002, Ruud Diterwich wrote:

> 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
>  
> 

--
Bob McWhirter        [EMAIL PROTECTED]
The Werken Company   http://werken.com/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to