-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Serialize Data to XML (strings). -- -- Text.XML.Generic can automatically serialize from the -- Data-type class to XML-strings. @package text-xml-generic @version 0.1.1 module Text.XML.Generic decodeXML :: (Data a) => String -> Either String a fromXML :: (Data d) => Element -> Either String d encodeXML :: (Data a) => a -> String -- | Serialize to XML. toXML :: (Data a) => a -> Element instance Monad (Either String)