xml-html-qq-0.1.0.0: Quasi-quoters for XML and HTML Documents

Text.XMLHTML.Internal

Contents

Description

Synopsis

# Documentation

Arguments

 :: (String -> Q Exp) The function to use for QuasiQuoters quoteExp. -> QuasiQuoter

Create a QuasiQuoter for Exps.

Arguments

 :: String The type of a document that was being parsed. Should either be "XML" or "HTML". -> String The name of the function that was being used to parse the document. Should probably either be "Text.XML.parseText" or "Text.HTML.DOM.parseLT" depending on whether you're parsing XML or HTML. -> String The actual XML or HTML string that you were trying to parse into a Document. -> SomeException The exception that occurred when trying to parse the Document. -> a

This function handles errors that occur when a Document can't be parsed.

This function throws an error with an explanation of what happened.

# Orphan instances

 Source # Methods Source # Methodslift :: Node -> Q Exp # Source # Methodslift :: Element -> Q Exp # Source # Methods Source # Methodslift :: Doctype -> Q Exp # Source # Methodslift :: Name -> Q Exp # Source # Methods Source # Methods Source # Methods