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