# `ExStorageServiceSdk.XmlParser`
[🔗](https://github.com/gsmlg-opt/ex_storage_service/blob/v0.7.1/lib/ex_storage_service_sdk/xml_parser.ex#L1)

Bounded S3 XML response parser using binary element names.

Parses standard S3 XML responses into Elixir maps.

# `parse_error`

Parses an S3 Error XML response.

Returns `{:ok, %{code: String, message: String}}` or `:error`.

# `parse_list_buckets`

Parses a ListAllMyBucketsResult XML response.

Returns a list of bucket maps with `:name` and `:creation_date` keys.

# `parse_list_objects`

Parses a ListBucketResult (V2) XML response.

Returns a map with:
  * `:contents` - list of object maps
  * `:common_prefixes` - list of prefix strings
  * `:is_truncated` - boolean
  * `:next_continuation_token` - string or nil
  * `:key_count` - integer

---

*Consult [api-reference.md](api-reference.md) for complete listing*
