Hands-on task
This task is step 24 of the course “JSON, YAML and XML in the terminal”
Change a Node's Value
In /root/catalog.xml the price of book b1 is outdated. Change its price to 99 directly in the file (the file must remain valid XML, and the other books must stay unchanged).
What you'll practise:
- xmlstarlet
- xpath
- editing xml
- in-place
- predicates