I have this XML file
I need function in Java which can remove the username
node.
I use function remove()
public void remove(String username){
// what do I write here to remove node of the username?
}
For example I need to remove element "anas":
remove("anas")
and the result is