Title:
howto_load_listview_from_xml Download
Description: 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
File list (Check if you may need any files):
Employees.xml
Form1.frm
howto_load_listview_from_xml.html
Project1.vbp