[jdom-interest] generating html content with jdom
Noam Tamim
noamt at yahoo.com
Wed Jun 27 16:14:27 PDT 2001
Hi.
I'm experimenting with creating html content with jdom; I wrote a small
program that creates html calendars, based on java.util.GregorianCalendar.
I was wondering:
* Is it acceptable to use jdom (or any other dom-based application) for
creating html documents, or I should stick to just out.println() the
elements myself?
* what's the best way to send a space character? I mean, there's a table
cell (<td>) that's supposed to be empty. With "standard" html I'd use
"<td> </td>". Currently what I have is this:
new Element("td").addContent(new EntityRef("#160"));
Is this the right solution?
- Noam.
More information about the jdom-interest
mailing list