Hello Keith,
There is the requirement of altering the XML document so generated in terms of adding additional attribute for better understanding of the same by the other interfaces interacting with the this XML document example the COI Archival system.
The following document shows the XML document generated using the Mapping option representing the underlying java classes:
<Auftragsposition AuftragspositionOID="1019738737353">
<DienstleistungsNummer>HU</DienstleistungsNummer>
<Name>SCHELLING</Name>
<Name2>JOCHEN</Name2>
</Person>
</Person>
<Organisation PartnerOID="0000108G100TKKS4O3N0590">
<Name>SCHELLING</Name>
<Name2>JOCHEN</Name2>
</Organisation>
</Auftragsposition >
</Organisation>
</Auftragsposition >
The above is to be represented as:
<Auftragsposition AuftragspositionOID="1019738737353">
<DienstleistungsNummer>HU</DienstleistungsNummer>
<AuftragPartner type="Person" PartnerOID="0000108G100TKKS4O3N0590">
<Name>SCHELLING</Name>
<Name2>JOCHEN</Name2>
</AuftragPartner>
</AuftragPartner>
<AuftragPartner type="Organisation" PartnerOID="0000108G100TKKS4O3N0590">
<Name>SCHELLING</Name>
<Name2>JOCHEN</Name2>
</AuftragPartner>
</Auftragsposition >
</AuftragPartner>
</Auftragsposition >
The Auftragsposition has a one to many relationship with Partner which are of types Person and Orgnaisation.
Auftag is bascially an order and Auftragposition is the order postion for your information.
So a given auftragpostion can have many partner and the same is to be represente din the above mentioned form.
I was probing into the field Handler functionality perhaps using the create-method attribute...whcih wud allow me to use my code to be run to generate the above mentined output, thus being called through the mapping file so written.
Chetan Rathi
Augsburger Str.336
70327 Stuttgart
Tel no.0711-7861-3148(off.)
Handy.no.015055564671
Chat with friends online, try MSN Messenger: Click Here
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
