XML To DataTable

jain

New Member
I have a Xml file from which i want to convert the whole datat to datatable using linq.\[code\]<element name="GeographicalAreasBasedOnCustomerLocationDomain" id="in-gaap_GeographicalAreasBasedOnCustomerLocationDomain" substitutionGroup="link-part" abstract="false" nillable="false"></element>\[/code\]I want the datatable from the given xml element in the following format.Namely 3 columns
  • id attributeName AttributeValue
  • 1 name eographicalAreasBasedOnCustomerLocationDomain
  • 1 id gaap_GeographicalAreasBasedOnCustomerLocationDomain
  • 1 substitutionGroup link-part
  • 1 abstract false
  • 1 nillable false
 
Back
Top