#NEWLINE# def get_xml( self ) : #NEWLINE# #INDENT# tags = [ DXB . li ( text = 'AAA' , ilvl = 1 , numId = 1 ) , DXB . li ( text = 'BBB' , ilvl = 3 , numId = 1 ) , DXB . li ( text = 'CCC' , ilvl = 2 , numId = 1 ) ] #NEWLINE# body = b'' #NEWLINE# for el in tags : #NEWLINE# #INDENT# body += el #NEWLINE# #UNINDENT# xml = DXB . xml ( body ) #NEWLINE# return xml