hxt-tagsoup-9.1.0: TagSoup parser for HXT

Portabilityportable
Stabilitystable
MaintainerUwe Schmidt (uwe@fh-wedel.de)

Text.XML.HXT.TagSoup

Description

Interface for TagSoup Parser

Synopsis

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