Posted: Tue Jun 23, 2009 3:42 pm Post subject: Mapping empty complex elements
Acolyte
Joined: 13 Sep 2004 Posts: 70
How Can I check if the attribute is not or not in mapping node.Suppose if I have source xml like this which attribute KEY_NAME (MTF.FloodRequestID,MTF.MAPUPDATE,CLIENT.TRACKINGID). We request comes in I may have all 3 attributes or may be 2 or 1. If all 3 attributes exists than I have to map the 3 different target name to its value otherwise I have to map it to blank. How can I achieve this in mapping node.
For example if all 3 attribute exists:
source1 Target Vaule
MTF.FloodRequestID target1= MTF17320440
MAPUPDATE target2= N
CLIENT.TRACKINGID target3= 003398393
If only 2 attributes MTF.FloodRequestID,MTF.MAPUPDATE exists
MTF.FloodRequestID target1= MTF17320440
MAPUPDATE target2= N
target3= E101
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum