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.

Documentation

type HParser = ByteString -> Bool -> IO (ForeignPtr Word8, CInt, Maybe XMLParseError) Source #

hexpatNewParser Source #

Arguments

-> Maybe (ByteString -> Maybe ByteString)

Entity decoder

-> Bool

Whether to include input locations

encodingToString :: Encoding -> String Source #

data Encoding Source #

Constructors

data XMLParseError Source #

Parse error, consisting of message text and error location

Constructors

Instances

data XMLParseLocation Source #

Specifies a location of an event within the input text

Constructors

Fields

Instances

AltStyle によって変換されたページ (->オリジナル) /