12.35. Configuring StreamResult Writing/Serialization
- To turn the default serialization behavior on or off, access the filter settings and configure them to do so.
- To modify the serialized form of one of the message fragments, implement a
SAXVisitor
to perform the transformation and target it at the message fragment using an XPath-like expression. - To modify the serialized form of a message fragment, use one of the provided templating components. These components are also
SAXVisitor
implementations.