JTidy : How to tidy HTML "fragments"

Is there a way to tidy *parts* of an HTML document ?
e.g.: I have :
"<tr><td>Foo<td>Bar"
and I want
"<tr><td>Foo</ td><td>Bar</ td>"

without any surroundings like <table> or <body> tags or whatsoever.
Can this be done ?

thanks in advance
  Florian

Received on Friday, 17 May 2002 10:59:12 UTC