Re: Automate XML Conversion Process
Bjoern Hoehrmann <[email protected]> Fri, 03 Jun 2011 13:50:41 +0200
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
* abhi saxena wrote: >Is there any way to write a batch script so that it will run the batch and >do the conversion one by one? > >tidy -asxhtml -numeric < (runtime filename) > (conversion file) > >Any help you can provide is much appreciated That depends on your batch script processor. On Windows you can do something like % mkdir xhtml % for %a in (*.html) do tidy ... %a > xhtml\%a which would process all .html files in the current directory and store the output in the 'xhtml' directory. HTML Tidy does not have built-in methods to do this (without modifying the input files). -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/