I am trying to use xmlstarlet to delete an extension in wildly configuration file aka standalone.xml , but it does not seem to work.
Here is what I do:
xmlstarlet el -v /tmp/standalone.xml |grep ejb
Which returns me the xpath of the extension I want to delete:
server/extensions/extension[@module='org.jboss.as.ejb3']
Then I try to delete it with "ed -d " , but it remains present:
xmlstarlet ed -d 'server/extensions/extension[@module="org.jboss.as.ejb3"]' /tmp/standalone.xml |head
Any idea ?