| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Xmlbf.XmlHtml
Documentation
Convert a Node from Text.XmlHtml into an Node from Xmlbf,
if possible.
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.
Comments are discarded from the resulting nodes and their children.
Surrounding whitespace is not stripped.