[Haskell-cafe] Parse HTML that is contain javascript

akira kawata a.kawashiro at gmail.com
Wed Dec 25 17:04:25 UTC 2013

Many thanks for your cooperations.
I have decided to use xmlhtml instead of making my own html parser.

2013/12/25 akira kawata <a.kawashiro at gmail.com>

> Hi, I am Akira.
> I want to parse HTML file that is contain javascript.
> But I cant come up with how to deal with script tag.
> Is there anyone help me?
> Details of probrem
> HTML code I want to parse is like following
> <html>
> <script>
> //<![CDATA[
> <!-- -->
> //]]>
> </script>
> </html>
> Because '<' is used as normal character in the script region,
> I can not use my HTML parser there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131226/8aa93635/attachment.html>

More information about the Haskell-Cafe mailing list