We have a scenario where we need to concatenate all XML node values to String.
input XML
<root>
<line>1</line>
<line>2</line>
<line>3</line>
<line>4</line>
</root>
Output to String
1234
Please let me know how can i achieve in form of String.
Thanks in advance.