How to get all the attributes for a particular document and its datatype?

Here is post with similar question and answers:

2 Likes