Get attribute from rows tag

Hi

I assign a new attribute (data-attention) to rows tag(XML)
Is there any way to get this value (4) from js.

Unfortunately, attributes from the top level tag is not accessible through javascript API