On 8/17/05, Stephen Bash <[EMAIL PROTECTED]> wrote:
> In Castor such a process is fairly easy. Using a mapping file, you can
> specify that the <name1> and <name2> elements reside inside <bar> using
> the location attribute. Here's an example:
>
> <mapping>
> <class name="Foo">
> <map-to xml="foo" />
> <field name="name1" type="string" />
> <bind-xml name="name1" location="bar" />
> </field>
> <field name="name2" type="string" />
> <bind-xml name="name2" location="bar" />
> </field>
> </class>
> </mapping>
Ah yes, the location attribute. I completely forgot about this! A much
better suggestion, Stephen. Scratch my response concerning the
container attribute.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://geronimo.apache.org/
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------