XML Attributes help

Alright, i am trying to make a copy of somthing that MLB.com has, using xml attributes and inserting them into text boxes within flash. I was wondering if someone had some kind of code that might help me actually get the information from the attributes to the text boxes… Thanx in advance for your help