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

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

Text.XML.HXT.DOM.MimeTypes

Description

mime type related data and functions

# Documentation

type MimeTypeTable = Map String String Source

application_xhtml :: String Source

text_xml_external_parsed_entity :: String Source

text_xml :: String Source

text_xdtd :: String Source

text_plain :: String Source

text_pdf :: String Source

text_html :: String Source

application_xml_dtd :: String Source

application_xml_external_parsed_entity :: String Source

application_xml :: String Source

isTextMimeType :: String -> Bool Source

isHtmlMimeType :: String -> Bool Source

isXmlMimeType :: String -> Bool Source

defaultMimeTypeTable :: MimeTypeTable Source

extensionToMimeType :: String -> MimeTypeTable -> String Source

readMimeTypeTable :: FilePath -> IO MimeTypeTable Source

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