REXML Attribute class

I can’t see a way to determine the name of an attribute from an Attributes
object.
Am I missing something?

···

WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.