[Haskell-cafe] Parse HTML that is contain javascript

akira kawata a.kawashiro at gmail.com
Tue Dec 24 19:03:17 UTC 2013


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/20131225/f96405e2/attachment.html>


More information about the Haskell-Cafe mailing list