hxt-tagsoup-9.1.4: TagSoup parser for HXT

CopyrightCopyright (C) 2010 Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.XML.HXT.TagSoup

Description

Interface for TagSoup Parser

Synopsis

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