protected function getRawValueAttribute(SimpleXMLElement $content, ?string $use, $default = null)
    {
        list($value, $attribute) = \explode('::', $use, 2);

        if (! empty($value)) {
            if (\is_null($parent = object_get($content, $value))) {
                return $default;
            }
        } else {
            $parent = $content;
        }

        $attributes = $parent->attributes();

        return data_get($attributes, $attribute, $default);
    }