S
Sam
Hi,
I have a xml file that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<UserSettings>
<UserName>sorcererdev</UserName>
<Server>192.168.0.1</Server>
<Database>NewWorld</Database>
</UserSettings>
<UserSettings>
<UserName>sa</UserName>
<Server>207.150.0.3</Server>
<Database>master</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>sorcererdev</UserName>
<Server>192.168.0.1</Server>
<Database>NewWorld</Database>
</UserSettings>
<UserSettings>
<UserName>sa</UserName>
<Server>207.150.0.3</Server>
<Database>master</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