I have a list of sObject which get populated dynamically all the objects and the related fields. The list look like this on debug
(Contact:{OtherCountry=, Division_Type__c=}, Account:{AccountNumber=})
I want to loop through the list of contact and Account.
E.g. : if loop through contact then get all the fields related to it and display as <inputfield />
on VF page. Do anyone have any idea.