The attribute and namespace axes contain all attribute and namespace nodes of an element. The shortcut @ stands for attribute::, so the following are equivalent:
attribute
namespace
@
attribute::
child::div/attribute::class div/@class