I am looking for one function that does the job. I guess I will have to get all the attributes individually.

Thanks.