I've the XML content as String. I need to search for a name (which can be an attribute name or element name) and need to replace the value of it.
Currently i'm using regular expression to find the tag and replacing it. The problem is it is taking more time.
Even the XPATH api takes more time to process and set the value.
I thought of using SAX parser but not sure how to set the value.
Can anyone please help me on this?