AnsweredAssumed Answered

XML with Carriage Return

Question asked by mike.c.henderson on Aug 21, 2015
Latest reply on Aug 24, 2015 by mike.c.henderson


I'm using a workflow with Update XML to change the contents of an XML file.


The problem is that the workflow removes all carriage returns from the XML file. The XML can no longer be read by another application because it is in one long string:

<?xml version="1.0" encoding="utf-16"?><Plan xmlns:xsi="" xmlns:xsd=""><FileName></FileName><VersionNumber></VersionNumber><PlanName></PlanName><PlanId></PlanId><Source></Source><UploadUser></UploadUser>

Instead of:

<?xml version="1.0" encoding="utf-16"?>

<Plan xmlns:xsi="" xmlns:xsd="">







Is there a way to solve this? Should I use Build String or something else?