nsIDocumentEncoderNodeFixup

Methods

fixupNode(aNode, aSerializeCloneKids)

Create a fixed up version of a node. This method is called before
each node in a document is about to be persisted. The implementor
may return a new node with fixed up attributes or null. If null is
returned the node should be used as-is.

Parameters

aNode Node to fixup.
[OUT] aSerializeCloneKids True if the document encoder should apply recursive serialization to the children of the fixed up node instead of the children of the original node.

Returns

The resulting fixed up node.