hexpat-0.20.13: XML parser/formatter based on expat

Safe HaskellNone
LanguageHaskell98

Text.XML.Expat.Internal.IO

Description

Low-level interface to Expat. Unless speed is paramount, this should normally be avoided in favour of the interfaces provided by SAX and Tree, etc.

Synopsis

Documentation

hexpatNewParser Source #

Arguments

:: Maybe Encoding 
-> Maybe (ByteString -> Maybe ByteString)

Entity decoder

-> Bool

Whether to include input locations

-> IO (HParser, IO XMLParseLocation) 

data Encoding Source #

Constructors

ASCII 
UTF8 
UTF16 
ISO88591 

data XMLParseError Source #

Parse error, consisting of message text and error location

data XMLParseLocation Source #

Specifies a location of an event within the input text

Constructors

XMLParseLocation 

Fields