- From: Charles Reitzel <creitzel@rcn.com>
- Date: Tue, 01 Apr 2003 10:27:32 -0500
- To: Terry Teague <terry_teague@users.sourceforge.net>
- Cc: html-tidy@w3.org, tidy-develop@lists.sourceforge.net
Hi Terry, There are some XML variants: .xsl XSL Stylesheet .xslt XSL Transform .xsd XML Schema I am sure there are others. Although, I might avoid generic XML by default. As you know, Tidy isn't 100% whitespace safe for those XML variants that demand it. I handle this problem by keeping different types of files in separate directories. E.g. I don't mix executables and markup files. Also, I use consistent files extensions on markup files: either .xml/.xsl/.xsd or .html. I bulk Tidy only .html files. Sometimes I tidy XML files for readability, but I usually throw away the result for the reason above. hth, Charlie At 12:16 AM 4/1/2003 -0800, Terry Teague wrote: >Dear Folks, > >In developing the next version of a program using Tidy based code, I am >needing to add support for input X(HT)ML files using specific file >extensions, to weed out unwanted files, especially when tidying whole >directories. > >i.e. we don't want to Tidy "mylargeofficesuite.exe" or "mymapoftheworld.jpg". > >Here is a list of file extensions I am using at the moment : > > /* [1] */ ".html"; > /* [2] */ ".htm"; > /* [3] */ ".text"; > /* [4] */ ".txt"; > /* [5] */ ".xml"; > /* [6] */ ".xhtml"; > /* [7] */ ".asp"; > /* [8] */ ".jsp"; > /* [9] */ ".php" > >Looking for suggestions for typical file extensions I may have missed. How >do other Tidy developers handle this? > >Regards, Terry
Received on Tuesday, 1 April 2003 10:15:13 UTC