Added support for multiple extentions

Added support for:
-dhtml (Dynamic HTML)
-xht (XHTML)