i have used the XMLEncoder to put my list of clients details into but am wondering how i go about retrieving information from the xml files say for instance if i wanted to show all clients who were entered on a specific date?
so far i have.
public void dxml(){
try {
XMLDecoder d = new XMLDecoder(new BufferedInputStream(new FileInputStream("client.xml")));
List<Client> list = (List<Client>) d.readObject();
d.close();
System.out.println(list.toString());
}catch (FileNotFoundException e){
}