-- 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 1.2.1
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
eventConduitText :: Monad m => Conduit Text m Event
sinkDocText :: MonadThrow m => Sink Text m Document
parseLT :: Text -> Document
parseSTChunks :: [Text] -> Document