Look up “Jacob Sebastian XML Workshop—he has a series of more than 30 posts on SQLServerCentral.com and other locations like SQL XML. Also check out the PDF Stairway from Simple Talk.