If I want to send text that contains characters that need to be escaped,
is there a utility function in Xerces-J that will escape them for me

e.g. if I have

"<BUSINESS_NAME>Jones&Co.</BUSINESS_NAME>"

how can I caonvert it to

"<BUSINESS_NAME>Jones&amp;Co.</BUSINESS_NAME>"

or whatever it should be.....

I am really looking for a function:

String normalize ( String string );

Also when i parse the document, and get the text, will I have to
"denormalize"?

Any ideas?

Thanks lots for any help!!

James



Reply via email to