Forum Discussion
SmartBear_Suppo
Alumni
14 years agoHi,
That can be done in a lot of ways, but it requires a bit of Groovy/Java knowledge.
You can read the file content to a string and then use myString.replace(). This method supports regular expressions as well.
You can also use groovyUtils.getXmlHolder() to modify the XML using XPath (some useful links: first, second).
Regards
Henrik
SmartBear Software
That can be done in a lot of ways, but it requires a bit of Groovy/Java knowledge.
You can read the file content to a string and then use myString.replace(). This method supports regular expressions as well.
You can also use groovyUtils.getXmlHolder() to modify the XML using XPath (some useful links: first, second).
Regards
Henrik
SmartBear Software