I have below format of xml.
need to show this data below table format.
I have below format of xml.
need to show this data below table format.
Once you've made your XML valid, use nodes
select
t.x.value('FacilityID[1]','int') as FacilityID,
t.x.value('Category[1]','int') as CategryID
from @yourxml.nodes('/Facilities/Facility') t(x)