package xmlutil

Import Path
	github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil (on go.dev)

Dependency Relation
	imports 12 packages, and imported by one package

Involved Source Files Package xmlutil provides XML serialization of AWS requests and responses. sort.go unmarshal.go xml_to_struct.go
Package-Level Type Names (total 3, in which 1 are exported)
/* sort exporteds by: | */
A XMLNode contains the values to be encoded or decoded. Attr []xml.Attr Children map[string][]*XMLNode Name xml.Name Text string AddChild adds child to the XMLNode. func NewXMLElement(name xml.Name) *XMLNode func XMLToStruct(d *xml.Decoder, s *xml.StartElement) (*XMLNode, error) func StructToXML(e *xml.Encoder, node *XMLNode, sorted bool) error func (*XMLNode).AddChild(child *XMLNode)
Package-Level Functions (total 14, in which 6 are exported)
BuildXML will serialize params into an xml.Encoder. Error will be returned if the serialization of any of the params or nested values fails.
NewXMLElement returns a pointer to a new XMLNode initialized to default values.
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.
XMLToStruct converts a xml.Decoder stream to XMLNode with nested values.