Sample Header Ad - 728x90

Update of XML value with xmlstarlet

2 votes
3 answers
7796 views
I have file config.xml:
App title
    Dummy dummy text.
I'd like to change value of `` element. I've tried following:
xmlstarlet edit -L -u "/_:widget/name" -v "NEW_NAME" config.xml
and
xmlstarlet edit -L -u "//name" -v "NEW_NAME" config.xml
But it hasn't changed the App title value.
Asked by Ladislav M (123 rep)
Nov 23, 2014, 08:45 PM
Last activity: Sep 25, 2024, 05:49 AM