Hello,
I am reading a XML document into a xmlbean and for some reason I want to replace occurrence of a pattern in the entire document (taking care that the resultant document is still valid) and reading back this new document into my bean....ie Replacing of pattern can be done by using the String newStr = xmlDocumentobject.toString.replaceAll() Now I want an xmlObject to be represented by newStr. Any suggestions on how this could be best done. Regards Mohana

