#NEWLINE# def append( self , parent , content ) : #NEWLINE# #INDENT# collection = content . value #NEWLINE# if len ( collection ) : #NEWLINE# #INDENT# self . suspend ( content ) #NEWLINE# for item in collection : #NEWLINE# #INDENT# cont = Content ( tag = content . tag , value = item ) #NEWLINE# Appender . append ( self , parent , cont ) #NEWLINE# #UNINDENT# self . resume ( content )