this is my XML file
<atm>
i want to know how can i verify the account no(acno) and password(and password) that i enter in client.java matches with the acno and password in the atm.xml...
this is my XML file
<atm>
i want to know how can i verify the account no(acno) and password(and password) that i enter in client.java matches with the acno and password in the atm.xml...
your int acno and int password is storing value of client supplied data.And document doc is having the values from xml.Just call a method say verify(acno,password,doc[acno,password]) and traverse it through doc[acno,password] to find a match.