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