amazonka-core-1.0.0: Core data types and functionality for Amazonka libraries.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Data.XML

Description

 

Synopsis

Documentation

(.@) :: FromXML a => [Node] -> Text -> Either String a infixl 7 Source

(.@?) :: FromXML a => [Node] -> Text -> Either String (Maybe a) infixl 7 Source

(@=) :: ToXML a => Name -> a -> XML infixr 7 Source

class ToElement a where Source

Methods

toElement :: a -> Element Source

Instances

data XML Source

Provides a way to make the operators for ToXML instance declaration be consistent WRT to single nodes or lists of nodes.

Constructors

XNull 
XOne Node 
XMany [Node] 

Instances

toXMLNodes :: ToXML a => a -> [Node] Source

toXMLList :: (IsList a, ToXML (Item a)) => Name -> a -> XML Source

toXMLText :: ToText a => a -> XML Source