xml-basic-0.0.1: Basics for XML/HTML representation and processing

Text.HTML.Basic.Character

Synopsis

Documentation

data T Source

Instances

Eq T 
Show T 
C T 

asciiFromUnicode :: Char -> TSource

Convert unicode character to XML Char. If there is a named reference, use this. If it is ASCII, represent it as Char. Otherwise use a numeric reference.

switchUnicodeRuns :: (String -> a) -> (Int -> a) -> (String -> a) -> [T] -> [a]Source