each_attribute iterates over each attributes.
element_name returns the name of the element name as a Name object.
[Validate]