hi,
i'm only a beginner working with xml,
but nevertheless, i want to know,
how i can store some xml data in an array.
in my case, someone wants to login in with a username and a passwort.
in my xml file, looking like this:
<User><User_ID> AMARTON </User_ID> <User_PW> AA </User_PW> <User_First_Name> Andor </User_First_Name> <User_Last_Name> Marton </User_Last_Name> <Mat_Group> 123</Mat_Group> </User>
<User><User_ID> ANAVROT </User_ID> <User_PW> AA </User_PW> <User_First_Name> Adriana </User_First_Name> <User_Last_Name> Navrotchi </User_Last_Name> <Mat_Group> 123</Mat_Group> </User>
<User><User_ID> APANTA </User_ID> <User_PW> AA </User_PW> <User_First_Name> Angelica </User_First_Name> <User_Last_Name> Panta </User_Last_Name> <Mat_Group> 123</Mat_Group> </User>
<User><User_ID> APANTAR </User_ID> <User_PW> AA </User_PW> <User_First_Name> sssssssssss </User_First_Name> <User_Last_Name> sssssssssss </User_Last_Name> <Mat_Group> 123</Mat_Group> </User>
no i want to check, if the username exists in the xml file, and if it exists, if the password is equal with the pw. in the xml file....
how can i reach this???
greetings