Copyright | Copyright (C) 2010 Uwe Schmidt |
---|---|
License | MIT |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Text.XML.HXT.TagSoup
Description
Interface for TagSoup Parser
- withTagSoup :: SysConfig
- withoutTagSoup :: SysConfig
- parseHtmlTagSoup :: IOSArrow XmlTree XmlTree
- a_tagsoup :: String
- tagSoupOptions :: [OptDescr SysConfig]
Documentation
withTagSoup :: SysConfig Source
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 [ withTagSoup ] "some-file.xml" ...
reads the given document and parses it with the lazy tagsoup parser. There is no validation enabled.
withoutTagSoup :: SysConfig Source
Turns off tagsoup parsing. The build in HXT parser will be used.
parseHtmlTagSoup :: IOSArrow XmlTree XmlTree Source
The Tagsoup parser arrow
tagSoupOptions :: [OptDescr SysConfig] Source