Canonicalization writer target for the XMLParser.
Serialises parse events to XML C14N 2.0.
The *write* function is used for writing out the resulting data stream
as text (not bytes). To write to a file, open it in text mode with
encoding "utf-8" and pass its ``.write`` method.
Configuration options:
- *with_comments*: set to true to include comments
- *strip_text*: set to true to strip whitespace before and after text
content
- *rewrite_prefixes*: set to true to replace namespace prefixes by
"n{number}"
- *qname_aware_tags*: a set of qname aware tag names in which prefixes
should be replaced in text content
- *qname_aware_attrs*: a set of qname aware attribute names in which
prefixes should be replaced in text content
- *exclude_attrs*: a set of attribute names that should not be
serialised
- *exclude_tags*: a set of tag names that should not be serialised