Text.XML.HXT.DOM.MimeTypes

hxt-9.3.1.16: A collection of tools for processing XML with Haskell.

Copyright | Copyright (C) 2008 Uwe Schmidt
License | MIT
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Stability | experimental
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Text.XML.HXT.DOM.MimeTypes

Description

mime type related data and functions

# Documentation

type MimeTypeTable = Map String String #

application_xhtml :: String #

application_xml :: String #

application_xml_external_parsed_entity :: String #

application_xml_dtd :: String #

text_html :: String #

text_pdf :: String #

text_plain :: String #

text_xdtd :: String #

text_xml :: String #

text_xml_external_parsed_entity :: String #

isTextMimeType :: String -> Bool #

isHtmlMimeType :: String -> Bool #

isXmlMimeType :: String -> Bool #

defaultMimeTypeTable :: MimeTypeTable #

extensionToMimeType :: String -> MimeTypeTable -> String #

readMimeTypeTable :: FilePath -> IO MimeTypeTable #

parseMimeTypeTable :: String -> [(String, String)] #