Portability | portable |
---|---|
Stability | stable |
Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
Safe Haskell | Safe-Inferred |
UTF-8 character parser and simple XML token parsers
- type XParser s a = GenParser Char (XPState s) a
- type SimpleXParser a = XParser () a
- data XPState s = XPState {
- xps_normalizeNewline :: !Bool
- xps_userState :: s
- withNormNewline :: a -> XPState a
- withoutNormNewline :: a -> XPState a
- xmlChar :: XParser s Unicode
- xmlNameChar :: XParser s Unicode
- xmlNameStartChar :: XParser s Unicode
- xmlNCNameChar :: XParser s Unicode
- xmlNCNameStartChar :: XParser s Unicode
- xmlLetter :: XParser s Unicode
- xmlSpaceChar :: XParser s Char
- xmlCRLFChar :: XParser s Char
Documentation
type SimpleXParser a = XParser () aSource
XPState | |
|
withNormNewline :: a -> XPState aSource
withoutNormNewline :: a -> XPState aSource
xmlNameChar :: XParser s UnicodeSource
parse a XML name character
xmlNameStartChar :: XParser s UnicodeSource
parse a XML name start character
xmlNCNameChar :: XParser s UnicodeSource
parse a XML NCName character
xmlNCNameStartChar :: XParser s UnicodeSource
parse a XML NCName start character
xmlSpaceChar :: XParser s CharSource
White Space (2.3)
end of line handling (2.11) will be done before or with xmlCRLFChar
parser
xmlCRLFChar :: XParser s CharSource
White Space Normalization
end of line handling (2.11) #x0D and #x0D#x0A are mapped to #x0A