cancel
Showing results for 
Search instead for 
Did you mean: 

externalize the the field of xml element with white spaces

ravi_nagarvwr
Explorer
0 Kudos

Hello Experts,

I need to externalize one of the XML elements with white space so that after transport I can update its value.

below is the sample XML, I need to externalize element "A".

length of this element "A" is 18

<?xml version='1.0' encoding='UTF-8'?>
<Root>
<A>0000777799 </A>
</Root>

I tried with content modifier but it discards the white spaces.

Kindly help me with the solution for this.

Thanks,

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Ravi,

whitespaces are trimmed off automatically.But appending value to A from parameter externalization will not cause any issue I guess.

Regards,

Sriprasad Shivaram Bhat

ravi_nagarvwr
Explorer
0 Kudos

Hi Sriprasad,

Can you help me with any blog on how I can append using the groovy script?

Or How I can modify XML element using groovy script ?