happstack-server-0.5.0.4: Web related tools and services.

Happstack.Server.MinHaXML

Documentation

data StyleSheet Source

Constructors

NoStyle 
CSS 

Fields

styleURL :: StyleURL
 
XSL 

Fields

styleURL :: StyleURL
 

l :: Name -> [(Name, String)] -> [Element] -> ElementSource

xmlElem :: (t -> [Content]) -> Name -> [(Name, String)] -> t -> ElementSource

data XML a Source

Constructors

XML StyleSheet a 

elF :: ToElement b => Name -> (a -> b) -> a -> ElementSource

attrF :: t1 -> (t -> String) -> t -> (t1, String)Source

attrFS :: Show a => t1 -> (t -> a) -> t -> (t1, String)Source

attrFMb :: (a -> String) -> String -> (a1 -> Maybe a) -> a1 -> (String, String)Source

recToEl :: Name -> [a -> (String, String)] -> [a -> Element] -> a -> ElementSource

listToEl :: ToElement a => Name -> [(Name, String)] -> [a] -> ElementSource

toAttrs :: t -> [(t1, t -> t2)] -> [(t1, t2)]Source

newtype ElString Source

Constructors

ElString 

Fields

elString :: String