WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDocumentEncoderNodeFixup

IID:e770c650-b3d3-11da-a94d-0800200c9a66
Inherits From:nsISupports

Methods

nsIDOMNode fixupNode ( nsIDOMNode node )

nsIDOMNode fixupNode ( nsIDOMNode node )

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.

Arguments:
node: Node to fixup.
Returns:
The resulting fixed up node.

References

This interface is passed as an argument to the following methods:

nsIDocumentEncoder.setNodeFixup

Reference documentation is generated from Mozilla's source.