Parse Xml file

Got a problem you cannot solve? Try here.
Post Reply
JeffTucker
Posts: 62
Joined: Thu Mar 19, 2009 11:07 am
Contact:

Parse Xml file

Post by JeffTucker »

I need to extract various values from a short xml file. Is there any example you can provide for parse string that might help me out?
Here is a brief sample - need to get ProxyServer, ProxyPort ...
appSettings opening tag...
add key="ProxyServer" value="10.10.10.98"
add key="ProxyPort" value="8080"
add key="BypassProxyOnLocal" value="true"
appSettings closing tag
Fiddling with technology
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

First parse for add key=" and then parse for ".
Then parse for value" and then for ".
And so forth...
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply