Topic
  • 1 reply
  • Latest Post - ‏2012-10-03T11:48:21Z by Muk1234
Muk1234
Muk1234
22 Posts

Pinned topic How to map multiple functional maps to a single output field?

‏2012-10-01T12:56:06Z |
Hello
I am new to WTX. I want to convert an XML file to another new XML file. For that I want to map multiple functional maps to a single output field which will contain the outputs from both the functional maps simultaneously. Please help.
Updated on 2012-10-03T11:48:21Z at 2012-10-03T11:48:21Z by Muk1234
  • Muk1234
    Muk1234
    22 Posts

    Re: How to map multiple functional maps to a single output field?

    ‏2012-10-03T11:48:21Z  
    Hello
    My input xml is something like this:
    ....
    ...
    <prodinfo>...</prodinfo>
    <bfts> under dis i hav 4 attributes</bfts>
    <cons>under dis i hav 2 attributes</cons>
    <crr>...</crr>
    .....
    ...
    Output card field should contain mapping once from <prdinfo>,<bnfts> and <crr> items and once from <prdinfo>,<cons> and <crr> items.
    So basically it is once with <bfts> attributes and once with <cons> attributes.

    Expected xml output:
    .....
    ....
    <bfdetails>
    4 attributes of <bfts>
    2 attributes of <cons>

    /* so there are total of 6(4 frm <bfts>+ 2 frm <cons>) attributes. */
    </bfdetails>
    .....

    Please help.

    Thanks in advance