observe the following tree and write the xml code
Attachments:
![](https://hi-static.z-dn.net/files/d6f/b2a684c713742fb7a13e73c6aeb84ac0.jpg)
Answers
Answered by
1
<?xml version ="1.0"?>
<inventory>
<drink>
<lemonade>
<price></price>
<amount></amount>
</lemonade>
<pop>
<price></price>
<amount></amount>
</pop>
</drink >
<snack>
<price></price>
<amount></amount>
</snack>
</inventory>
<inventory>
<drink>
<lemonade>
<price></price>
<amount></amount>
</lemonade>
<pop>
<price></price>
<amount></amount>
</pop>
</drink >
<snack>
<price></price>
<amount></amount>
</snack>
</inventory>
Similar questions