[jdom-interest] Automatic Character Escaping

Jay Balunas balunasj at netscout.com
Tue Apr 1 15:15:40 PST 2003


I understand what you are saying, but the   is a special instance
where the literal character is just a " ".  I need the   to remain so
that when it is transformed into HTML the   is used.

Thanks for you response,
Jay



                                                                                                                                
                      Elliotte Rusty                                                                                            
                      Harold                   To:       Jay Balunas/NetScout at NetScout                                          
                      <elharo at metalab.u        cc:       jdom-interest at jdom.org@SMTP at Exchange                                   
                      nc.edu>                  Subject:  Re: [jdom-interest] Automatic Character Escaping                       
                                                                                                                                
                      04/01/2003 12:49                                                                                          
                      PM                                                                                                        
                                                                                                                                
                                                                                                                                




>I just need a way for JDOM to not do the automatic escaping for this
>character sequence.

No, you don't.* You need to include the actual character in your
string literals, not &nbsp;

* There is a small chance you're writing an XML editor. In this case,
you may actually need to do what you claim, but JDOM isn't going to
help you. You'll need a different, syntax layer API rather than
JDOM's structure layer API.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+







More information about the jdom-interest mailing list