Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Write XML and create element formatting (https://www.kinook.com/Forum/showthread.php?t=5408)

lockedude 03-08-2016 10:44 AM

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:




After adding additional elements:




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?

kinook 03-09-2016 06:45 AM

You can format the XML document after updating using the Transform XML Log action.
http://kinook.com/VisBuildPro/Manual...mlogaction.htm


All times are GMT -5. The time now is 01:51 AM.


Copyright © 1999-2023 Kinook Software, Inc.