Portability | portable |
---|---|
Stability | stable |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
Safe Haskell | None |
Text.XML.HXT.TagSoup
Description
Interface for TagSoup Parser
Documentation
withTagSoup :: SysConfigSource
The system config option to enable the tagsoup parser
Here is an example, how to use it:
... import Text.HXT.XML.Core import Text.HXT.XML.TagSoup ... readDocument [ withExpat ] "some-file.xml" ...
reads the given document and parses it with the lazy tagsoup parser. There is no validation enabled.
withoutTagSoup :: SysConfigSource
Turns off tagsoup parsing. The build in HXT parser will be used.
parseHtmlTagSoup :: IOSArrow XmlTree XmlTreeSource
The Tagsoup parser arrow