on 11-24-2010 11:07 AM
Source:
<IamaTag>ABC</IamaTag>
target:
<ABC>IamaTag</ABC>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.