toto_7 0 Newbie Poster

Hello, to the forum. I have stuck on a point for my coursework. I have a xml file that containts 4 category tags (but with different attribute name), inside i have 4 item and inside any item i have <name><price>...etc. There is a way to take those tags (<name><price ..etc.>) by compiling with XPath just the item tag? or i should compile each one seperatly?
Thank you.