Skip to Content

Context change

Hi Group,

In the Incoming file I have 10 filelds,in the target I need to map 5 source fields to 5 target fields

for another 5 fields I need to map to one target field with 5 times repeating that tag:

for ex: Source

<SRC>

<HSD1> 11</HSD1>

<HSD2> 12</HSD2>

<HSD3> 13</HSD3>

<HSD4> 14</HSD4>

<HSD5> 25</HSD5>

<HSD6> 26</HSD6>

<HSD7> 27</HSD7>

<HSD8> 28</HSD8>

<HSD9> 29</HSD9>

<HSD10> 30</HSD110>

</SRC>

Target:

<TRG>

<HTD1> 11</HTD1>

<HTD2> 12</HTD2>

<HTD3> 13</HTD3>

<HTD4> 14</HTD4>

<HTD5> 25</HTD5>

<VAL>26</VAL>

<VAL>27</VAL>

<VAL>28</VAL>

<VAL>29</VAL>

<VAL>30</VAL>

Can any body suggest how can achieve this

Regards,

Rajiv

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 21, 2011 at 05:17 PM

    Map first five fields from source to target as one to one. for next 5 fields, Use duplicate subtree to store different values of source field to target

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.