playMaker

Author Topic: How to remove line break when saving XML file  (Read 1168 times)

DaiDesign

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
How to remove line break when saving XML file
« on: January 04, 2017, 02:20:23 PM »
Hi

Does anyone know how to remove line breaks when saving an xml file using DataMaker.

When saving I'm getting the following:

         <ring type="RW" posX="-250" posY="250">
         </ring>

What I want to achieve is below:

         <ring type="RW" posX="-250" posY="250"></ring>

At the moment it is taking ages to edit these manually and increases the chance of human error.

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
    • View Profile
Re: How to remove line break when saving XML file
« Reply #1 on: January 06, 2017, 05:46:51 AM »
Will you be editing the file manually? If no then it won't matter since it doesn't make a difference.

If you will though, this might help

http://stackoverflow.com/questions/10917555/adding-a-new-line-break-tag-in-xml