What would be the best way to process a complex xml file in java?
Something like this:
<company>
<owner>
<ownername></ownername>
<ownerage></ownerage>
</owner>
<cars>
<car>
<carname></carname>
<engines></engine>
<user>
<name></name>
<age></age>
<address></address>
</user>
</car>
</cars>
</company>
What would be the best way to extract car or user?