Martin Owens

$attribute->ownerElement()

  Return the owner of the attribute (element)