Standard:
http://www.w3.org/TR/xpath#axes
attribute::
Standard excerpt:
the attribute axis contains the attributes of the context node; the axis will be empty unless the context node is an element