thanks in advance..
NodeList listOfStates = doc.getElementsByTagName("state"); //I have tags <state attr="value".........>; but what about if I had <State...> or <STATE>???? My istruction doens't work in //these cases. How can I change it? State n = myobj.getStates().lastElement(); //I created a State object for my aims NodeList childs = listOfStates.item( ).getChildNodes(); //here I need to search in listOfStates a particular State. How can I retrieve it using XML methods???