I have not used the class. I just found it via google.
In the end I used code from a coworker and incorporated it into my open source project. I want to cross compare what this project did vs my implementation and do a little research before releasing it, but here is the link to my code which is pretty simple.
Look at the 'escape' method in the Utils class below. If it works for you feel free to use my jar or even pilfer the code
. I'm not that familiar with the whole special characters concept in xml, so if anyone knows of a better way to do this, or place to get the code let me know.
http://cvs.sourceforge.net/viewcvs.py/fdsapi/fdsapi/Code/com/fdsapi/Utils.java?rev=1.10&view=auto The main method of my com.fdsapi.Utils class has sample usage:
I created this method, so I could have a way to 'escape' all Strings within an array easily using my API. For example the following would escape all Strings in ANY array, and leave any other Object types unchanged.
[ April 10, 2005: Message edited by: steve souza ]