- From: Charles Reitzel <creitzel@rcn.com>
- Date: Sat, 22 Mar 2003 16:30:51 -0500
- To: "Mike Broschinsky" <MBROSCHI@utah.gov>
- Cc: <html-tidy@w3.org>
Sorry about the confusion, but the split option is no longer supported. It just didn't fit into the TidyLib I/O model and it needs to be removed. I would recommend using XSLT. Most implementations (not MSXML, however) have an extension that allows producing multiple output files from a single transformation. Also, XSLT will give you much more flexibility on how you break up your docs (Tidy was fixed on H2 elements) and the format of the output - especially slide navigation. Your worst case is a transformation that produces a script that executes N transformations: one for each output file given an XPath expression to the starting element. Alternatively, you could use the 04Aug2000 version of Tidy, which is still available on the project page. take it easy, Charlie At 01:29 PM 3/22/2003 -0700, Mike Broschinsky wrote: >I am new to Tidy, and thought I would try it, especially because I was >interested in the --split configuration option to burst HTML files at the ><h2> level. Perhaps it is simply my inability to follow instructions, but >I cannot seem to get the --split option to work. > >I am running Windows XP Professional, and have HTML Tidy for Windows >released on 1st February 2003. > >I run Tidy from the command line like this: > >tidy --split yes test-tidy.html > >What I get is a dump to the screen of the source of test-tidy.html with >the indents stripped. > >I run Tidy with a configuration file like this: > >tidy -config config.txt test-tidy.html > >Where config.txt reads: > >split:yes > >And I get a dump to the screen of test-tidy.html, but with the formatting >preserved that exists in the source. > >What I would like, of course, is the slide00n.html files that the >documentation says I should get. > >What very important, but obviously too subtle for my benighted mind, >detail have I missed? > >Thanks much > >Mike
Received on Saturday, 22 March 2003 16:19:04 UTC