Skip to Content
Mar 02, 2017 at 08:26 AM

condition in xslt mapping


Hi All,

i need to put one condition in xslt mapping and the requirement is like below

In the input payload we are getting below segment like





so the above segment may come multiple times but based on the few values only need to populate the receiver segment for example,

<charac> ------------------------------------------------ 1




<charac> -------------------------------------- 2




<charac> ------------------------------------------ 3




so here I need populate segment when charactername is equal to only print or comp.

the receiver structure the segment is





so the output should be like

<e1edl1> ---------------------------- 1





<at>comp</at> -------------------- 2