Xml targeting elements

having some problems trying to get some xml to display in text boxes in flash.

here’s the xml

<?xml version="1.0" ?>
<namesandtitles>

	<person>
		<name>Andrew</name>
		<title>Worker</title>
	</person>
	
</namesandtitles>

and now the as


function CreateTitles(the_xml){
	
	var items = the_xml.firstChild.firstChild; 

	for (var i=0; i<items.length; i++) {

			
			var persons_name = items*.firstChild;
			var persons_title = items*.childNodes[1];
			trace(persons_title);

			name_txt.text = persons_name.firstChild.nodeValue;
			title_txt.text = persons_title.firstChild.nodeValue;

	}
}


var titles_xml = new XML();
titles_xml.ignoreWhite = true;

titles_xml.onLoad = function(success){
	if (success) CreateTitles(this);
	else trace("Error loading XML file");
}
// load the xml file!
titles_xml.load("names_titles.xml");

Is there a way to simplify this or target differently? Right now i’m getting nothing.
I just want the data to show up in my two text boxes.

Thanks!