Does clean install of XP kill all malware?



I apologize for the newbie question, but here goes:

If I do a clean install of my XP, will it kill all the viruses, spyware and
other malware that is on my computer?
.