Using memory consumption close to zero, streaming serialization enables writing arbitrarily large XML documents onto a destination, such as an
OutputStream
, both for standard textual XML as well as binary XML.