Convert String to XML safe String

merg <[email protected]> Thu, 18 Sep 2003 19:50:36 +0200
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
A bit off-topic, but I'm sure you guys know the answer. Where can I find 
a helper method (within Xerces/XMLC) that converts a String to an XML 
safe String (e.g. escaping &, converting special chars to the UTF 
equivalent, ...)

Don't want to reinvent the wheel. :-)

Regards,
Merg