First of all a very Happy New Year to all the readers and the readers to come. May this year brings more prosperity and unending happiness for all across the globe.
- Write an XSLT template for string replace function and call this template whenever string replacement is required.
- Create your own Custom XPath function for String replacement that can be imported in JDeveloper and used across the whole developer team
- Harness the capabilities of using Java classes in XSLT. This is the simplest method and I'll explain this in just 2 steps, attributed to its simplicity.
- Create a namespace in XSLT for the Java String class to be used (let's prefix this as :strClass).
- Use replaceAll() function of the String class referenced above as highlighted under. And the job is done.
Once again Happy New Year and Happy Learning....