-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | xmlhtml backend support for the xmlbf library.
--
-- xmlhtml backend support for the xmlbf library.
@package xmlbf-xmlhtml
@version 0.2
module Xmlbf.XmlHtml
-- | Convert a Node from Text.XmlHtml into an Node
-- from Xmlbf, if possible.
fromXmlHtmlNode :: Node -> Either String Node
-- | Parses a given UTF8-encoded raw XML fragment into a, using
-- the xmlhtml Haskell library, so all of xmlhtml's
-- parsing quirks apply.
--
-- You can provide the output of this function as input to Xmlbf's
-- runParser.
--
-- The given XML can contain more zero or more text or element nodes.
--
-- Comments are discarded from the resulting nodes and their children.
--
-- Surrounding whitespace is not stripped.
fromRawXml :: ByteString -> Either String [Node]
-- | Like fromRawXml, but parses using xmlhtml's quirks
-- HTML mode.
fromRawHtml :: ByteString -> Either String [Node]