Hi All,
We have a task like we need to write text message to existing XML node.
Our XMl is in below format
Now what we need to do is we need to write below text b/w lines as it is(with spaces between each line) in the node in
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi All,
Welcome to our team.
Regards,
Team
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
For that what we are doing is we are Using Edit XML File Action , we had given correct XPath and in the New Value we are giving our required text(as mentioned above)
We had tried 3 different options provided there for New Value like Treat new value as text,Preserve white space,insert value as CDATA but while writing to XML it is writing as below
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi All,Welcome to our team.Regards,Team
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Means it is not taking spaces betwenn lines ,but we want it to write as it is to XML.
Please provide some help regarding this.
One more case :
We have a varaible %history% which has 4 lines of data.When writing to XML using same steps as above ,that variable value is also not written properly, it is writing as a single line.
Please help us in the two tasks mentioned above.
Thanks