manoelcampos / xml2lua

XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
MIT License
287 stars 73 forks source link

Reduce xml size by auto-closing empty tags #66

Closed NicoAdrian closed 2 years ago

NicoAdrian commented 3 years ago

Is there any way to reduce the size of the xml string generated via xml2lua.toXml ? I'm talking about using auto closing tags when there is no text, no unnecessary \n etc...

manoelcampos commented 2 years ago

Hello @NicoAdrian, Please use the discussion page for questions. But since we are already here, currently there is no way to do that. Unfortunately, this is not a feature I'm planning to do, but Pull Requests are welcome.