hxt-9.3.1.22: 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-Inferred
Language | Haskell2010

Text.XML.HXT.DOM.MimeTypes

Description

mime type related data and functions

# Documentation

type MimeTypeTable = Map String String Source #

application_xhtml :: String Source #

application_xml :: String Source #

application_xml_external_parsed_entity :: String Source #

application_xml_dtd :: String Source #

text_html :: String Source #

text_pdf :: String Source #

text_plain :: String Source #

text_xdtd :: String Source #

text_xml :: String Source #

text_xml_external_parsed_entity :: 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 #