Fix docstring for transform_attr_value