Hi Folks,
Thanks for all you support in Advance, i have a requirement, where i have an XML in one line string form and i wondering how to convert into well formed XML?
Input XML sample:
<root> <one><link1></link1></one><two></two> </root>
to well-formed XML
<root>
<one>
<link1></link1>
</one>
<two>
</two>
</root>
I was trying to create a well-formed document using DOM or SAX parsers in ExcuteScript activity, but it is leading to some complicated exceptions. And i am looking for the simplest way for transformation.
Please let me know
thanks,
Rajesh