tadija / AEXML

Swift minion for simple and lightweight XML parsing
MIT License
1.01k stars 200 forks source link

Adding a way to get the XML string with spaces not tabs #140

Closed nestorlafon closed 6 years ago

nestorlafon commented 6 years ago

Some users, editor or IDEs will prefer getting the output with spaces instead of tabs.

This PR adds a computed variable, similar to Element.xmlCompact.

tadija commented 6 years ago

Hi, thanks for this too, it's merged now in 4.3.0.

On a second look it crossed my mind that maybe there's a way to configure indentation character somehow, but let's just leave that for another time... :)