-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | xeno backend support for the xmlbf library.
--   
--   xeno backend support for the xmlbf library.
@package xmlbf-xeno
@version 0.1.1

module Xmlbf.Xeno

-- | Convert a <a>Node</a> from <a>Xeno.DOM</a> into an <tt>Element</tt>
--   from <a>Xmlbf</a>.
element :: Node -> Either String Node

-- | Parses a given UTF8-encoded raw XML fragment into <tt>a</tt>, using
--   the <tt>xeno</tt> Haskell library, so all of <tt>xeno</tt>'s parsing
--   quirks apply.
--   
--   You can provide the output of this function as input to <a>Xmlbf</a>'s
--   <a>runParser</a>.
--   
--   The given XML can contain more zero or more text or element nodes.
--   
--   Surrounding whitespace is not stripped.
nodes :: ByteString -> Either String [Node]
