cancel
Showing results for 
Search instead for 
Did you mean: 

Target file structure

Former Member
0 Kudos


Dear All,

How to create following structure for target data type? (I have mentioned in Bold in the following xml schema)

Please any one help me for this requirement.

<A>

   <B id="" operation="">

      <abc>abc</abc>

      <adc_ID>adc_ID</adc_ID>

      <ghi>ghi></ghi>

      <def>def</def>

      <def_ID>def_ID</def_ID>

    <B/>

</A>

Regards,

Hari

Accepted Solutions (1)

Accepted Solutions (1)

praveen_sutra
Active Contributor
0 Kudos

hi Harinath,

Does it mean you just need to add     <B id="" operation="">    <B/> the tags only.

As per my understanding this can be done by XSLT mapping or java mapping.

It would be easier if you send both source and target structure for better understanding.

thanks and regards,

Praveen T

Former Member
0 Kudos

Hi Praveen,

Source structure:

<A>

   <B>

      <abc>abc</abc>

      <adc_ID>adc_ID</adc_ID>

      <ghi>ghi></ghi>

      <def>def</def>

      <def_ID>def_ID</def_ID>

   <B/>

</A>

Target Structure:

<A>

   <B id="" operation="">

      <abc>abc</abc>

      <adc_ID>adc_ID</adc_ID>

      <ghi>ghi></ghi>

      <def>def</def>

      <def_ID>def_ID</def_ID>

    <B/>

</A>

Regards,

hari

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Harinath,

In your data type, add id and operation as attribute. See, example below:

No need to do this using xslt/java mapping.

Regards,

Mark

Answers (1)

Answers (1)

monikandan_p
Active Participant
0 Kudos

Hi Hari,

    Explain clearly about your requirement.

Best Regards,

Monikandan