#NEWLINE# def _xml( self , indent ) : #NEWLINE# #INDENT# '\n        Return a string containing the XML of this element and all its\n        children with a starting indent of *indent* spaces.\n        ' #NEWLINE# self . _indent_str = ( ' ' * indent ) #NEWLINE# xml = self . _start_tag #NEWLINE# for child in self . _children : #NEWLINE# #INDENT# xml += child . _xml ( ( indent + 2 ) ) #NEWLINE# #UNINDENT# xml += self . _end_tag #NEWLINE# return xml