based on the logic in the function, this actually supports ``{?string}`` (which is the correct return type from ``getAttributeNS``)