0slemi0 at gmail.com
Tue Dec 24 19:52:36 UTC 2013
The html-conduit package (http://hackage.haskell.org/package/html-conduit)
can parse the above snippet easily: http://lpaste.net/97491
This code reads from stdin and prints out the parsed HTML. Try it out! For
documentation on the returned AST take a look at xml-conduit (
On 24 December 2013 19:42, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Tue, Dec 24, 2013 at 2:20 PM, akira kawata <a.kawashiro at gmail.com>wrote:
>> Did you mean HaXmL?
> Pick an XML parser. CDATA is an XML construct. Well-formed HTML *should*
> be XML compatible, although it's very rare to find proper well-formed HTML
> these days....
> brandon s allbery kf8nh sine nomine
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe