struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [JXPath] support for DOM and transparent containers
Date Mon, 03 Sep 2001 03:20:20 GMT


Good stuff!!!

> For instance, the "attribute" axis is supported for DOM objects, even
though it
> is not applicable to JavaBeans.

Why not just map JavaBean properties to both XML elements and attributes?

So if a bean 'foo' has a property 'bar', let $foo/bar and $foo/@bar both be
valid accessor paths.

Okay, maybe this just applies to non-indexed JavaBean properties...

James W.

View raw message