[jdom-interest] url as attribute value changes & to &

Elliotte Rusty Harold elharo at metalab.unc.edu
Sat Jul 27 10:35:57 PDT 2002


>I understand your point, that it is invalid to have an unescaped 
>ampersand as an attribute value in xml.
>
>But I'm stuck now.  Looking for some ideas.  I am using jdom to 
>build a html page.  So currently, there is no process that will 
>unescape the ampersands.
>

JDOM is not an HTML API. You can use it build XHTML, but not classic 
HTML. I suggest you use an HTML API instead if you cannot use XHTML.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/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