#NEWLINE# def __init__( self , element = None , file = None ) : #NEWLINE# #INDENT# assert ( ( element is None ) or iselement ( element ) ) #NEWLINE# self . _root = element #NEWLINE# if file : #NEWLINE# #INDENT# self . parse ( file )