def __init__(self, envelope=True, encodingStyle=None, header=True, <EOL>nsdict={}, outputclass=None, **kw):
outputclass = outputclass or ElementProxy<EOL>if not issubclass(outputclass, MessageInterface):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>self.dom, self.memo, self.nsdict=outputclass(self), [], nsdict<EOL>self.envelope = envelope<EOL>self.encodingStyle = encodingStyle<EOL>self.header = header<EOL>self.body = None<EOL>self.callbacks = []<EOL>self.closed = False<EOL>
Initialize.