Edit WSO2 XML configuration files with xmlstarlet

Posted by Luca Strozzi on 25 Oct, 2018

Many times we need to perform small edits on XML files from within a shell script. For example, during software deployment, some XML element or attribute values need to change, or XML elements have to be added, removed, modified. This is a different use-case than installing/deploying WSO2 on a server for which we typically would use Ansible or Packer. In our case we need a lightweight solution that takes little time to create but saves us a lot of time. In a previous blog (Doing a simple scripted setup of WSO2 Enterprise Integrator) we used the stream editor SED. But there are alternatives as we will see in this blog.

Read More

Topics: WSO2 XML, WSO2 Enterprise Integrator, XML, xmlstarlet