W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Changing .html to .ehtml

From: Angeshwar Deepak <angeshwar@yahoo.com>
Date: Sat, 24 Jul 2004 08:27:00 -0700 (PDT)
Message-ID: <20040724152700.2538.qmail@web40507.mail.yahoo.com>
To: html-tidy@w3.org


I am using the Tidy.jar for making the html as well
formed. I am using the tidy.jar file in Ant build and
the build process works fine.

But the problem is I am using these files in Forrest
for building the project site. I need to feed .ehtml
or .xml files and not .html to forrest. Is there any
way to simply change the extension of the output file
of tidy tool.

i.e. the output from tidy should have the extension
..ehtml or .xml and not .html

Is it possible to accomplish by making changes in the 
tidy.config file. If so whatare the changes or

with regards,

The ant build part is:

target name="validate_xhtml">
    <delete file="${tidy.output.file}"/>
        <foreach param="msg" target="run_tidy">
            <fileset dir="${deploy.home}">
                <include name="**/*.html"/> 
	<antcall target ="copydir"/>

<target name="run_tidy">    
    ********* ${msg}
	<java classname="org.w3c.tidy.Tidy" fork="true">
         <arg line=" -config ${tidy.config.file} -f
errs.txt ${msg}" />

Deepak Angeswar, 

Pfaffenwaldring 48 C / 202, 
70569 Stuttgart, Germany. 
Home: 049-0711-1225292 
Mobile: 049-0176-24039227 

Work Student- 
DaimlerChrysler AG 
Building R+V Gebäude, 
Eichwiesenring 14, 
70567 Stuttgart, Germany. 
Email Id: deepak.angeswar@daimlerchrysler.com

Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
Received on Sunday, 25 July 2004 08:11:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:55 UTC