WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:DOMSerializer
Description:serialize DOM to String or binary stream
Id:apache.DOMSerializerT
Category:transreptor

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.NodeReadable Binary Stream
XDAjava.lang.String
Import Requirements

To use DOMSerializer transreptor you must import the module urn:org:netkernel:xml:core:

<import>
  <uri>urn:org:netkernel:xml:core</uri>
</import>

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.