Hi sweex,
you have to define field mapping for a2 in class mapping of A but with
location attribute you should be abel to make a2 apear as attribute or
element of bObject tag.
Regards
Ralf
sweex schrieb:
Hi!!
I hope you're not boring with me! I have a lot of questions...
The most important question I have is this:
The A class has 3 attributes:
private string a1;
private string a2;
private B bObject;
where B class has string b1 attribute.
I want to write a mapping for the A class so as to generate an XML with this
structure:
class name="A"
|
-a1
|
-bObject
|
- a2 <<------- how can I insert A's attribute in the mapping of B?
|
- b1
I hope someone has understand me. Thanks!!
Regards.
--
Syscon Ingenieurbüro für Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Internet: www.syscon.eu
E-Mail: [EMAIL PROTECTED]
Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Geschäftsleitung: Jens Joachim, Ralf Joachim
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email