Re: Automate XML Conversion Process

* 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:bjoern@hoehrmann.de · 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/ 

Received on Friday, 3 June 2011 11:51:01 UTC