Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Combinators over XML.
Synopsis
- newtype XParse a = XParse {}
- runXParse :: Element -> XParse a -> Either XErrors a
- xfail :: String -> XParse a
- require :: String -> Maybe a -> XParse a
- xattr :: QName -> XParse String
- xtext :: XParse String
- xchild :: QName -> XParse a -> XParse a
- xread :: Read a => String -> String -> XParse a
- xel :: XParse Element
- name :: String -> QName
- xsName :: String -> QName
- readXml :: FilePath -> IO Element