Hi experts,
<Zoo id = "001" location = "LA" state = "CA">
<Animal> Cat </Animal>
<Animal> Dog </Animal>
</Zoo>
--------------------------
---
I want the new xml to be the following: (the location equals the original state value, and remove the state attribute)
<Zoo id = "001" location = "CA" >
<Animal> Cat </Animal>
<Animal> Dog </Animal>
</Zoo>
--------------------------
----------
--
Can anyone please give me some helps? Thanks!
Start Free Trial