Hi,
I have a xml file that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<UserSettings >
<UserName>sorce rerdev</UserName>
<Server>192.168 .0.1</Server>
<Database>NewWo rld</Database>
</UserSettings>
<UserSettings >
<UserName>sa</UserName>
<Server>207.150 .0.3</Server>
<Database>maste r</Database>
</UserSettings>
Is there a 'simple' way ( that is using existing framework's functions)
which would allow finding out easily if a server with a given IP is
stored in the file, and if so, we get the username and database
associated to it.
Or should I write my own file parser ?
Thx
I have a xml file that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<UserSettings >
<UserName>sorce rerdev</UserName>
<Server>192.168 .0.1</Server>
<Database>NewWo rld</Database>
</UserSettings>
<UserSettings >
<UserName>sa</UserName>
<Server>207.150 .0.3</Server>
<Database>maste r</Database>
</UserSettings>
Is there a 'simple' way ( that is using existing framework's functions)
which would allow finding out easily if a server with a given IP is
stored in the file, and if so, we get the username and database
associated to it.
Or should I write my own file parser ?
Thx
Comment