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?


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.