Link to home
Start Free TrialLog in
Avatar of Victor  Charles
Victor CharlesFlag for United States of America

asked on

Help with concatenating data from one data element to another using VB.NET

Hi,

How do I copy data from SNA data element to IBG data element using VB.NET?

For example if File1.xml contains:

<Root>
<Table>
<ID>1</ID>
<IBG>104<IBG>
<SNA>AAAAAA</SNA>
<MUI>XYZ</MUI>
</Table>
<Table>
<ID>2</ID>
<IBG>105<IBG>
<SNA>AAAAAA1</SNA>
<MUI>XYZ1</MUI>
</Table>
<Table>
<ID>3</ID>
<IBG>106<IBG>
<SNA>AAAAAA2</SNA>
<MUI>XYZ2</MUI>
</Table>
</Root>

How do I create File2.xml?

<Root>
<Table>
<ID>1</ID>
<IBG>104  AAAAAA<IBG>
<MUI>XYZ</MUI>
</Table>
<Table>
<ID>2</ID>
<IBG>105  AAAAAA1<IBG>
<MUI>XYZ1</MUI>
</Table>
<Table>
<ID>3</ID>
<IBG>106  AAAAAA2<IBG>
<MUI>XYZ2</MUI>
</Table>
</Root>


Thanks,

Victor
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Victor  Charles

ASKER

Thank You Fernando.
Not a problem Victor, glad to help.