Mahesh Pinnamaneni wrote:In the XML document there is a tag where I can have something like this.
<transform>
area = area.toUpperCase();
location = location.substring(5);
</transform>
Like this I would like to use the Java functions.
Wondering how this can be achieved.
If you are using Java 6, one possibility is to use the Java Scripting API. By default, the API has Javascript installed, which looks very much like Java...
If you absolutely need to have Java, then there are about 2 dozen or so, other scripting engines that you can download and install, for this API -- a couple of them implement Java. See this page (
https://scripting.dev.java.net/) for details.
Henry