cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.1 advanced mapping

Former Member
0 Kudos

Source:

<IamaTag>ABC</IamaTag>

target:

<ABC>IamaTag</ABC>

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you want to create the Element Name dynamically based on payload, its not possible using Graphical mapping.

U can go for Java Mapping.

But if the Traget Element is constant and u want to put the source node name in the Element use Return As XML in a UDF and get the value

Babu

former_member200962
Active Contributor
0 Kudos

1) There should be a node in your Target structure with the name ABC

SourceField(lamaTag)-->
                 --> equalS --> IfWithoutElse (Constant(lamaTag) -->Then) --> TargetField(ABC)
Constant(ABC)-->

Regards,

Abhishek.

anupam_ghosh2
Active Contributor
0 Kudos

Hi Debashish,

This is easily done with java mapping. Can you please post your source and target XML structure along with the frequency of occurence of each of their fields(0,unbound,1 etc)?

regards

Anupam

Edited by: anupamsap on Nov 25, 2010 7:50 AM