¤ parseHtml, printHtml, et al

HTML

Types

parseHtml :: String -> Either ([String], String) Html
printHtml :: Html -> String
printTag :: HtmlTag -> String

Description

parseHtml in an HTML parser. It normally returns Right html. The parser is built using error-correcting parsing combinators, so it should not fail, but if it does it returns Left errormessage.

parseHtml parses complete HTML documents. The structure of the Html value follows the structure described in the HTML 4.0 standard.

printHtml prints HTML documents.

See Also

The type Html, The Fudgets Thesis...