Parsing XML
-
Can anybody help in getting the node name and node value from a XML to two arrays that is nodename in one array and node value in another array. even if there is no value for a particular node then also the array of the nodename should be there in one array and the other array should be empty. Vipin
-
Can anybody help in getting the node name and node value from a XML to two arrays that is nodename in one array and node value in another array. even if there is no value for a particular node then also the array of the nodename should be there in one array and the other array should be empty. Vipin
-
Can anybody help in getting the node name and node value from a XML to two arrays that is nodename in one array and node value in another array. even if there is no value for a particular node then also the array of the nodename should be there in one array and the other array should be empty. Vipin
If its C# you are working in, then just deserialise the XML document into a standard POCO (Plain old CLR object) and then run a loop on it to take all the data you want out and place it into an Array (or Generic List).