wraxml-0.4.4.2: Lazy wrapper to HaXML, HXT, TagSoup via custom XML tree structure

Safe HaskellSafe
LanguageHaskell98

Text.HTML.WraXML.String

Synopsis

Documentation

type T = [Atom] Source #

type Atom = T Source #

fromString :: String -> T Source #

Literal translation from pure strings. This can only work, if the string does not contain special characters.

fromUnicodeString :: String -> T Source #

default routine

toUnicodeStringDecodingEmbedError :: DecodingFctEmbedErrors -> T -> EmbeddedExceptions Source #

Decode plain characters using the given decoder, and decode entities by HXT's XML entity table. Decoding errors for both conversions are embedded where they occur.

toLower :: T -> T Source #

Convert characters to lower case. This uses ISO latin encoding and may fail for exotic characters.