XML problem

Greetings.

I’ve an XML file that’s something like that ( can be editted from an asp file ) ;

 
<aspxml>
<login>
<username>admin</username>
<password>admin</password>
</login>
<contents>
<Content>
<ID>1</ID>
<title>test</title>
<details>test</details>
</Content>
</contents>
</aspxml>

I want Flash to read only and

parts of the file, and using this code ;

 
function loadXML(loaded)
{
    if (loaded)
    {
        xmlNode = this.firstChild;
        title= [];
        details= [];
        total = xmlNode.childNodes.length;
        for (i = 0; i < total; i++)
        {
 
            title* = xmlNode.childNodes[0].childNodes[0].firstChild.nodeValue;
   details* = xmlNode.childNodes[0].childNodes[1].firstChild.nodeValue;
 
 
        }
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("file.xml");

But it reads login information, not the parts that i wanted. (I’ve to keep login information in xml file)
How can i make Flash to read title and details only ?
Thanks for helping.

( edit : something about “selectSingleNode” … but i still couldn’t solve it )