-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Parse HTML documents using xml-conduit datatypes. -- -- This package uses tagstream-conduit for its parser. It automatically -- balances mismatched tags, so that there shouldn't be any parse -- failures. It does not handle a full HTML document rendering, such as -- adding missing html and head tags. @package html-conduit @version 0.0.0 module Text.HTML.DOM -- | Converts a stream of bytes to a stream of properly balanced -- Events. eventConduit :: Monad m => Conduit ByteString m Event sinkDoc :: MonadThrow m => Sink ByteString m Document readFile :: FilePath -> IO Document parseLBS :: ByteString -> Document