Don't render header if there are no attributes.
Don't render header if there are no attributes.

This fixes the case where an "XML attributes" header was displayed even if there are no XML attributes.

google/dokka,google/dokka