[EMAIL PROTECTED] wrote:

Hello,

when constructing an XHTML document with Xerces-J, how to insert special
characters like " "? The problem is that the "&" character is replaced by
the """ sequence, thus " " is expanded to ""nbsp;".

There must be a way to insert special characters, but I have not been able to
figure it out.


If you insert the Java representation of the non-breaking space into the element content (through some \u escape probably) then the serializer should convert it to the &#xxxx; representation automatically.

Sebastian Redl


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to