On 11/7/05, Bob McWhirter <[EMAIL PROTECTED]> wrote:
>
> An XML semantic module has been long planned (and existed in earlier
> betas).
>
> The problem is if we do XPath conditions, while Jaxen(.org) can
> handle most any DOM, it has to know what kind of DOM you are using.
>
> Ideally, I'd want all of these to work:
>
> assertObject( domDoc )
> assertObject( dom4jDoc )
> assertObject( jdomDoc )
> assertObject( xomDoc )
> assertObject( javabean )
>

Ah, neat; would this allow you to declare nodes as parameters?

e.g.
<parameter id="orderLine"><xml:xpath>/order/item[taxable=true]</xml:xpath>

Although I suppose it would get tricky to pick which conditions belong in
the condition node (for node sharing, amongst other reasons) and which
belong in the xpath (which would reduce the number of evaluations necessary,
I guess).

- Geoffrey
--
Geoffrey Wiseman

Reply via email to