This article describes how to control white space when serializing an XML tree. A common scenario is to read indented XML, create an in-memory XML tree without any white space text nodes (that is, not ...
skip_serializing_if only works if the serialization format is self-describing. It does not work with e.g. bincode. This is a footgun in a codebase that uses more than one serialization format at ...