I think I am going to entirely rewrite the content serializer in Gecko. It is messy and poorly documented, it does not allow pretty-printing in XML, it does not allow to customize pretty-printing, it has a few very annoying bugs dealing with whitespaces and line breaks. I added a lot of stuff there for source colorization, and it could be architectured better. So I am going to trash almost everything and design a pretty printer controller based on a configuration file. With that, the user will be able to customize the output of all elements and all attributes in a given namespace and save that customization. Case, indentation, wrapping, carriage returns. What else?