Menu

Closing tags added

2012-08-21
2024-06-12
  • 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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.