I have a XML file like this :
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<user>
<account phone ="2000">
</account>
</user>
<user>
<account phone ="2001">
</account>
</user>
<user>
<account phone ="2002">
</account>
</user>
<user>
<account phone ="2003">
</account>
</user>
From java code, i want to get latest phone attribute . I'm not using condition that attr.getValue()
because this data always updated, so I want to get the latest value of phone attribute.