Abraham Olatubosun

Abraham Olatubosun

  • NA
  • 471
  • 107.4k

Count each header tag name in xml using c#

Nov 22 2016 12:34 AM

Hi my code masters,

I trust all of you guys are doing just fine.

Please I have a challenge, I have a program that extract about 2,000 patient records in XML, and this XML have the following section:

HIVEncounter

Laboratory

Regimen

For each of these XML files I want to count each HIVEncounter, Laboratory and Regimen.

So that I can display them in the following format

File Name

HIVEncounters

Lab’s

Regimen

       
       

Thank you for your usual assistance


Answers (5)