#1
|
|||
|
|||
Write XML and create element formatting
I am using the Write XML action to a dynamic number of elements to a config file. AS always, VBP is working great as expected except for the resulting format of the config file after adding elements. No LF or CR are being applied after the elements. For example:
Initial: <connectionStrings> <add name="ConnectionString1"/> </connectionStrings> After adding additional elements: <connectionStrings> <add name="ConnectionString1"/> <add name="ConnectionString2"/><add name="ConnectionString3"/><add name="ConnectionString4"/></connectionStrings> Admittedly, the file is stil valid from an XML standpoint, but it becomes very unreadable when the elements may contain large amounts of information. I have tried various things to no avail. Is there anyway to add a CR\LF after adding an element? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|