Package xmlutil provides XML serialization of AWS requests and responses.
BuildXML will serialize params into an xml.Encoder. Error will be returned if the serialization of any of the params or nested values fails.
StructToXML writes an XMLNode to a xml.Encoder as tokens.
UnmarshalXML deserializes an xml.Decoder into the container v. V needs to match the shape of the XML expected to be decoded. If the shape doesn't match unmarshaling will fail.
UnmarshalXMLError unmarshals the XML error from the stream into the value type specified. The value must be a pointer. If the message fails to unmarshal, the message content will be included in the returned error as a awserr.UnmarshalError.
A XMLNode contains the values to be encoded or decoded.
NewXMLElement returns a pointer to a new XMLNode initialized to default values.
XMLToStruct converts a xml.Decoder stream to XMLNode with nested values.
AddChild adds child to the XMLNode.