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

Portability | portable
Stability | experimental
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)

Text.XML.HXT.DOM.MimeTypes

Description

mime type related data and functions

# Documentation

type MimeTypeTable = Map String 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

application_xhtml :: String

isTextMimeType :: String -> Bool

isHtmlMimeType :: String -> Bool

isXmlMimeType :: String -> Bool

defaultMimeTypeTable :: MimeTypeTable

extensionToMimeType :: String -> MimeTypeTable -> String

readMimeTypeTable :: FilePath -> IO MimeTypeTable

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