RE: non-breakable space

<[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <0FCC438D62A5E643AA3F57D3417B220D08398EB6@TORMAIL.algorithmics.com>
You can also do...

Element label = new Element("label", xformsnamespace);
label.addContent("Address:");
label.addContent(new EntityRef("nbsp"));

Rolf

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jabba Laci
Sent: Tuesday, December 02, 2008 6:32 PM
To: jdom
Subject: [jdom-interest] non-breakable space

Hi,

I'd like to produce the following XHTML output:

<xforms:label>Address:&nbsp;</xforms:label>

How to prevent that JDOM changes & to &amp; ?

Thanks,

Laszlo
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]

 
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential and proprietary to Algorithmics Incorporated and its affiliates ("Algorithmics"). If received in error, use is prohibited. Please destroy, and notify sender. Sender does not waive confidentiality or privilege. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Algorithmics does not accept liability for any errors or omissions. Any commitment intended to bind Algorithmics must be reduced to writing and signed by an authorized signatory.
--------------------------------------------------------------------------


_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.