Safe HaskellSafe

Xml

Documentation

data Token Source #

Constructors

StartTag String 
EndTag String 
Comment String 
Text String 

Instances

Show Token # 

Methods

showsPrec :: Int -> Token -> ShowS

show :: Token -> String

showList :: [Token] -> ShowS

parseName :: Parser Char String Source #

tokenize :: [Char] -> Maybe [Token] Source #

type Tag = String Source #

data Xml Source #

Constructors

Xml Tag [Xml] 
Txt String 

Instances

Show Xml # 

Methods

showsPrec :: Int -> Xml -> ShowS

show :: Xml -> String

showList :: [Xml] -> ShowS

fromString :: String -> Maybe Xml Source #