What are typical file extensions for X(HT)ML documents?

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 03:29:30 UTC