-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Servant support for the XML Content-Type -- -- Servant support for the Content-Type of application/xml. -- Anything with a Xmlbf.ToXml instance can be automatically -- marshalled. @package servant-xml @version 1.0.0 -- | Servant support for XML. -- -- Types with a ToXml instance will be automatically marshalled -- into XML and successfully returned by Servant endpoints. In -- implementing toXml, you can use the element and -- text primatives found in the xmlbf library. module Servant.XML -- | The application/xml Content-Type. To be used in Servant -- endpoints like: -- --
--   data Foo = ...
--   
--   instance ToXml Foo where
--     toXml foo = ...
--   
--   type API = ... :<|> "foo" :> Get '[XML] Foo
--   
data XML instance Servant.API.ContentTypes.Accept Servant.XML.XML instance Xmlbf.ToXml a => Servant.API.ContentTypes.MimeRender Servant.XML.XML a