-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Parse HTML documents using xml-conduit datatypes. -- @package html-conduit @version 1.2.0 module Text.HTML.DOM -- | Converts a stream of bytes to a stream of properly balanced -- Events. -- -- Note that there may be multiple (or not) root elements. -- sinkDoc addresses that case. eventConduit :: Monad m => Conduit ByteString m Event sinkDoc :: MonadThrow m => Sink ByteString m Document readFile :: FilePath -> IO Document parseLBS :: ByteString -> Document parseBSChunks :: [ByteString] -> Document