Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Closing tags added

2012-08-21
2013-05-20
  • Andrew Sasak
    Andrew Sasak
    2012-08-21

    I noticed that when reading an xml file then writing it back out, tiny xml adds closing tags to elements.
    Before:
    <Data blah="1" />
    After:
    <Data blah="1"> </Data>

    Is there a way to avoid this behavior so that the output file more closely resembles the input?

     
  • Andrew Sasak
    Andrew Sasak
    2012-08-22

    Sorry I had that backwards, closing tags are removed and replaced with />. Is there any way to maintain the tags?