I have a simple login form with Username and password as fields when the user clicks the login I wish to check the xml whether the username and password is present in the xml. How do I do this, could someone please give me some ideas ? My xml file looks like this
<usersList> <user> <userid>usr001</userid> <username>Administrator</username> <password>adminpwd</password> <email>firstname.lastname@example.org</email> </user> <user> <userid>usr002</userid> <username>shopuser</username> <password>shopuserpwd</password> <email>email@example.com</email> </user> .... </userList>
So my xml contains many users like the one shown above, but how do I check whether the username entered at the username textbox is present in this xml file ?