[xwiki-devs] [GSoC][officeimporter]htmlcleaner can't transform deprecated tags in xhtml
Hi Vincent, I read this in htmlcleaner's forum, http://sourceforge.net/forum/forum.php?thread_id=1935192&forum_id=637245. It seams that htmlcleaner can't handle the deprecated tags. So I think I can't use htmlcleaner to to transform deprecated tags in the "html clean" step, unless I use jdom. PS. I don't think jdom is a so bad way for now. Thanks Wang Ning
Hi Wang, On Aug 17, 2008, at 5:37 AM, Wang Ning wrote:
Hi Vincent,
I read this in htmlcleaner's forum, http://sourceforge.net/forum/forum.php?thread_id=1935192&forum_id=637245 . It seams that htmlcleaner can't handle the deprecated tags. So I think I can't use htmlcleaner to to transform deprecated tags in the "html clean" step, unless I use jdom. PS. I don't think jdom is a so bad way for now.
You shouldn't use JDOM at all IMO. You should use TagNode instead as much as possible. It seems to be done for that purpose. Thanks -Vincent
participants (2)
-
Vincent Massol -
Wang Ning