I have an xml document containing an element witch I can select with
stkconfig>Video[width]. So, I want to modify the value of this element.
There is a CLI utilities for this?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Finally I find XML Starlet as suggested by Sato.
I use for that
xmlstarlet ed --inplace -u "/stkconfig/Video/@width" -v <new value> <path to my document.