BACKGROUND
I am coding an app which is suppose to bypass an old OCR. I am loading XML data from a database based on a unique ID which upon being added to a URL template creates a unique page in a browser and displays the XML data there. The XML string is pretty leanghty and usually consists of 60 – 200 records/attributes (originaly attributes from different database sources) such as name, surname, adress, gender etc.. it represents one person always. There is not much to be done about this mechanism so I have to work around it. These XMLs get generated based on a template. We have around 15 templates making 15 different XMLs.
THE ISSUE(S)
In order to finish my work I need to load all the data in said XML to a list of strings. Meaning I need a list where each “item” represents 1 records from the original XML.
Secondly I would need another list which will have the coresponding attributes of the XML put into it in a same fashion as the first list.
Example:
LIST1:
-John
-Doe
-25
-M
LIST2:
-Name
-Surname
-Age
-Gender
DISCLAIMER
I have tried to search for an answer for several days but usually the questions asked here are from a file or ask for something different or are outdated.
5