|Description:||serialize DOM to String or binary stream|
The DOMSerializer is a transreptor. The following table shows the transreption permutations that it will perform:
|From (any of)||To (any of)|
|org.w3c.dom.Node||Readable Binary Stream|
To use DOMSerializer transreptor you must import the module urn:org:netkernel:xml:core:
This transreptor serializes XML to either a binary stream or a string.
No indentation is used, a declaration is placed at the start of the serialization.
UTF-8 is used as the default encoding, however is a request header of "encoding" is specified then that is used as the character encoding.