Re: JSP tags removing

Am 11.09.2007 um 18:08 schrieb Alex Rubin:

> Hello,
>
> Could you please help me to make Tidy ignore not standard html tags  
> like <jsp>? Is there any way to do it using Tidy config or I have  
> to remove them manually before operation?
>
> Thanks!

Tidy, or the core of Tidy, the TidyLib, is only able to process the  
(X)HTML output of something, not the sources (in your case it is  
JSP), which generate this (X)HTML output.

For Java frameworks, please use JTidy from http:// 
jtidy.sourceforge.net/, a Java port of tidy, instead.
For PHP frameworks, there does exist a PHP tidy extension, which is  
part of PHP 5+ and has to be activated in php.ini.

JTidy:
http://jtidy.sourceforge.net/
http://jtidy.sourceforge.net/multiproject/jtidyservlet/filter.html
http://jtidy.sourceforge.net/multiproject/jtidyservlet/tagreference- 
jtidy-taglib-12.html


-- 
Sierk Bornemann
email:            sierkb@gmx.de
WWW:              http://sierkbornemann.de/

Received on Wednesday, 12 September 2007 17:00:17 UTC