cancel
Showing results for 
Search instead for 
Did you mean: 

Field name change in XML

Former Member
0 Kudos

Hi All,

i am getting the source like below,

Source :

<item>

<PVVersions>abc</PVVersions>

<Project>abc</Project>

<ProjectID>abc</ProjectID>

<IntercompanyECogs>abc</IntercompanyECogs>

<GrossProfit>abc</GrossProfit>

<item>

i want the target like below

<ms0:item>

<PVVersions>abc</PVVersions>

<Project>abc</Project>

<ProjectID>abc</ProjectID>

<IntercompanyECogs>abc</IntercompanyECogs>

<GrossProfit>abc</GrossProfit>

<ms0:item>

in the target instaed of <Item>, i am expecting <mso:item>.

Regards,

AVR

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi all,

solved my problem.

thanks,

AVR

former_member200962
Active Contributor
0 Kudos

ms0 is a namespace prefix....check Stefan's blog on XMLAnonimyzerBean and do the settings accordingly in your receiver channel.

Regards,

Abhishek.

RKothari
Contributor
0 Kudos

Hello,

I would suggest to use Java mapping for this.

Use replaceAll() function to change the node <item> to <ns0:item> in Java Mapping.

-Rahul