> Parse the value of HTMLArea's content using an XML parser. HTMLArea 
> should produce well-formed XHTML most of the times, but when 
> it doesn't 
> (like when you paste content from MSWord, for instance), passing it 
> through Neko or JTidy will fix it.

Check Outerthought's Daisy. They already have an HTMLCleaner that can clean
up the content of the HTMLarea before storing. And it's flexible enought to
config it with an XML file.

HTH.

Bye, Helma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to