Transform categories view with xml

i transform common views with xml, and it’s very fast. i’m satisfied with it. but now i have some views with categories, i

want to transform them with xml, but i don’t know how to do.

anybody can give me a example? very thanks