|Description:||The active:serializeDOM service performs controlled serialization of a DOM|
serializeDOM is an accessor using Active URI syntax with the following base identifiers:
and the following arguments: (for more details on argument passing details see here)
|Representation (java.lang.Object)||XML document to be serialized|
|Representation (java.lang.Object)||Custom serialization specification|
The following verb is supported:
The response representation of this accessor for SOURCE requests is unknown.
This accessor throws no documented exceptions.
To use serializeDOM accessor you must import the module urn:org:netkernel:xml:core:
When a request with the SOURCE verb is issued to
the XML document specified in the required operand argument
is serialized based on a specification provided in the optional
If the operator is not provided the default serialization is UTF-8 encoding, indented with XML declaration.
By default, the response representation returned is an IBinaryStreamRepresentation.
The operator argument may refer to a resource with a serialization specification.
Where each element is optional and if omitted the default will be used which is to indent, include a declaration and use an encoding of UTF-8.