Re: invalid HTML tags

* Nikolay Georgiev wrote:
>I'd like to know is there a way to force JTidy to output XML or xHTML 
>form HTML even when in the HTML there are some invalid tags (which are 
>not in the specs). What I need is an option to tell tidy to erase those 
>tags in the case of xHTML output or simply to leave them (with a 
>warnning, and not to stop with error) in the case of XML ('cause the XML 
>have no DTD so any tag is good by default, right?).

You should be able to find equivalents of the --new-... options as you
should be able to find the equivlent of the -xml option if the input is
XML. For JTidy, there is a forum on the project page, JTidy questions
should be posted there.

Received on Friday, 4 April 2003 00:01:30 UTC