[Solved] Find a xml element with Regex and replace its value
You don’t necessarily have to create a Document in order to change an XML document. You can quite easily set up streaming XML parser to do this in an efficient manner. Have a look at the javax.xml.stream package. solved Find a xml element with Regex and replace its value