Remove a node in XML using XmlSlurper in Groovy

118 Views Asked by At

I have a XML that contains a snippet like

<modules>
  <module>aaa</module>
  <module>bbb</module>
</modules>

Now I want to remove the node/tag that contains the value "bbb" in the XML using XmlSlurper in groovy.

Any help?

0

There are 0 best solutions below