Reading XML Node values (vb.net)
Posted on 2011-02-23
This is a sample of my config file
<?xml version="1.0" encoding="utf-8" ?>
<Import timeOfDay="07:30" fileTypes="txt" sourceFolder="C:\Pending" destinationFolder="C:\Processed" logFilePath="log.txt" />
There are lots of examples on how to get data from an XML file on the web, but my requirement is slightly different.
The key contains several values, how do I get each of them into local variables in my app.
If I could use the ConfigurationManager that would be great, but for now I'm resigned to just getting the data out.