Parsing a XML file using batch to get values from some specific nodes

ipodkaachris

New Member
For each node list having 'Lists' as its parent node, I want to get/save into a variable values of the first three node, namely 'entry', 'output', and 'token'.I know do that with vbscript, but it is much more interesting to me to have a solution in batch.Please, can it be done? \[code\] <list1> <entry>myEntry</entry> <output>myOut</output> <token>4</token> <status>1</status> <number>6</number> <!-- Comments --> </list1> <list2> <entry>newEntry</entry> <output>thisOutput</output> <token>1</token> <status>0</status> <number>1</number> <!-- Comments --> </list2> <list3> <!-- repeat nodes as before --> </list3>\[/code\]Any help!!!Thanks
 
Back
Top