I have an xml like this
<list>
<job>
<id>B001</id>
<name>Job1</name>
<time>7</time>
<status>success</status>
</job>
<job>
<id>B002</id>
<name>Job2</name>
<time>1</time>
<status>success</status>
</job>
I want to change the at specific job with a specific name. I did some search on google but it's no help.Anyone know a good way to do this in Java? Or a doc will also be appreciated.
I wonder a method which might be changeTimeOfJob(String id, int time)