XML...Having trouble understanding what firstChild/childNodes mean

I don’t completely understand the rules of XML parsing in Flash. I’m not sure where my firstChild nodes and childNodes are in relation to my XML doc. I’ve looked up so many tutorials and none of them ever give a clear explanation as to how you should structure your firstChild.childNodes.firstChild, etc. code.

This is my xml:


<?xml version="1.0"?>

<flashcards>
	<fronts>
		<card1_front height="100" y="-20">Turner Field</card1_front>
		<card2_front height="120" y="-40">Pro Player Stadium</card1_front>
		<card3_front height="120" y="-40">Comisky Park</card3_front>
	</fronts>
	<backs>
		<card1_back height="120" y="-40">Braves</card1_back>
		<card2_back height="120" y="-40">Marlins</card2_back>
		<card3_back height="120" y="-40">White Sox</card3_back>
	</backs>
	<main>
		<main_text>Welcome to the flashcards example.</main_text>
		<instructions_text>Click each Flashcard to proceed through the exercise.</instructions_text>
	</main>
</flashcards>

Can someone map this out and point out where each “firstChild” is and where childNodes begins?

I attached an image that shows how I think it looks…Am I right or am I wrong?