One option could be to utilize the XML DOM package and serialize the created XML nodes. Of course you get no way to detect whether the document is well-formed or not... [ October 24, 2008: Message edited by: Adam Asham ]
Joined: Jul 06, 2006
Hmm, I think javax.swing.text.html is a much better alternative. I don't know why they put html in there. It's not the most logic location for handling HTML documents...
This is a small open source project of mine. It's LGPL and I'm not asking for money.
I've been using this approach for building web applications for several years and about 6 months ago I decided to hunker down and put it all together for release. It's a 1% inspiration 99% perspiration thing. It took a lot of work to get it out there and I would like it if some developers would kick the tires a bit.
This is a great forum with a lot of users who I think could benefit from this approach. If you that crass advertising then sorry.