ngallagher / simplexml

Simple XML
Apache License 2.0
97 stars 38 forks source link

Support serializing mixed content. #17

Open teetrinkers opened 8 years ago

teetrinkers commented 8 years ago

It is now possible to create a child element of an OutputName without a name (name is null). The NodeWriter will not write start and end tags of elements without a name.

This allows writing mixed content elements, but is currently only useful if the formatter does not indent.

teetrinkers commented 8 years ago

Now it is also possible to disable indentation for individual elements.

ngallagher commented 5 years ago

Seems risky... wondering what is achieved here?