logo       
Google Custom Search

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: XHTML construction problem with ampersands / special characters: msg#00100

Subject: Re: XHTML construction problem with ampersands / special characters
andreas.hoenen@xxxxxxxxxxx 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



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>