Introduction - If you have any usage issues, please Google them yourself
When the form loads, the program builds a DOMDocument object holding the XML data. It uses function GetAttributesAndNames to get a list of the attributes and element names in the first Employee node s subtree. It splits the list of names apart and uses them to set the ListView s column headers.
Next the program loops through the file s Employee elements. It calls function GetAttributeAndNameValues to get the attribute and name values corresponding to the column names and adds them to the ListView