Use ampersand character in setText
Andrea Pacini <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <CACjey_Eo9rj4zjs=RHy6PZZV-3udF1_dZcvtE=4gZV+LcHXigQ@mail.gmail.com> |
Hi,
according to Jdom FAQ ( http://www.jdom.org/docs/faq.html#a0290 ) , I tried
to write the string
&test
using this statement:
root.setText("\u0026test");
where \u0026 is the Unicode code for ampersand character.
The output is:
&test
Where is the error ?
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]