| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Xmlbf.Xeno
Synopsis
- fromXenoNode :: Node -> Either String Node
- fromRawXml :: ByteString -> Either String [Node]
Documentation
Parses a given UTF8-encoded raw XML fragment into a, using the xeno
Haskell library, so all of xeno'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.
Surrounding whitespace is not stripped.