Senocular's XML Drop-Down Menu - how to use different clips for menu and item?

I have been playing with the Senocular’s tute on xml, and was wondering how i would implement one look for the menu items and one for the submenu’s.

I tried doing if statements (if name attribute = name, the use a different clip) but that didnt seem to work.

Any ideas?