#NEWLINE# def visitNodeDefault( self , node ) : #NEWLINE# #INDENT# self . writer ( getattr ( node , ( 'start_' + node . tagName ) , '' ) ) #NEWLINE# for child in node . childNodes : #NEWLINE# #INDENT# self . visitNode ( child ) #NEWLINE# #UNINDENT# self . writer ( getattr ( self , ( 'end_' + node . tagName ) , '' ) )