on 07-05-2012 1:21 PM
<p>Hi all,</p>
<p> I am having XML like this,
<LDATA>
<item>
<LINE>008:00000010,005:James,004:Bond,008:00000000,
</LINE>
</item>
<item>
<LINE>
010:01.01.2003,001:0;008:00000072;
</LINE>
</item>
</LDATA>
target XML is,
<LDATA>
<item>
<LINE>
008:00000010,005:James,004:Bond,008:00000000,010:01.01.2003,001:0;008:00000072;
</LINE>
</item>
</LDATA>
i.e., to combine both <LINE> tags to single. How to do this? Could anyone pls explain me?</p>
<p>Thanks in Advance</p>
Hi,
Using repeater, get your LINE node to a single String variable and assign back to a XML structure.
Regards,
Aravinth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. Create a local string variable.
2. Map your line node of XML structure to Repeater.
3. Add one Assignment action block under Repeater.
4. Now concatenate the Repeater output into a Local string variable.
Now in local string variable, concatenated value of your Line node will be there.
Regards,
Aravinth
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.