Re: Convert String to XML safe String
Jacob Kjome <[email protected]> Thu, 18 Sep 2003 13:17:03 -0500
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
The DOMFormatter should do this for you unless you send markup through as a CDATA section. What special characters are you having troubles with? Have you tried them out already using XMLC find that they are failing to be escaped? Jake At 07:50 PM 9/18/2003 +0200, you wrote: >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 > >_______________________________________________ >XMLC mailing list >[email protected] >http://www.enhydra.org/mailman/listinfo.cgi/xmlc