If you want to understand about XML sitemaps then the best person to learn from is Matt Cutts. Matt is Head of Google’s Webspam Team and in this video he explains about the use of priority in your XML sitemaps.

Google Webmaster Help – Will I be penalized if my URLs all have the same priority