# Anyone know where the problem is in this file?

**URL:** <https://forum.kirupa.com/t/anyone-know-where-the-problem-is-in-this-file/155016>\
**Category:** Uncategorized\
**Created:** [July 14, 2005, 6:20am UTC](https://forum.kirupa.com/t/anyone-know-where-the-problem-is-in-this-file/155016 "2005-07-14T06:20:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ay13](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@ay13](https://forum.kirupa.com/u/ay13)\
**Post date:** [July 14, 2005, 6:20am UTC](https://forum.kirupa.com/t/anyone-know-where-the-problem-is-in-this-file/155016/1 "2005-07-14T06:20:04Z")

</div>

this is just a sample of loading xml so i can learn how it works…

actionscript:

var xmlTest = new XML();  
xmlTest.ignoreWhite = true;  
xmlTest.load(“xml\_test.xml”);  
var xnAuthor = xmlTest.firstChild.firstChild.firstChild;  
trace(xnAuthor);  
var xnTitle = xmlTest.firstChild.firstChild.nextSibling.firstChild;  
trace(xnTitle);  
\_root.txtAuthor.text = xnAuthor.nodeValue;  
\_root.txtTitle.text = xnTitle.nodeValue;

the last 2 lines are textinput components to show the author and title…

xml file: xml\_test.xml

\<?xml version=“1.0”?\>  
\<book\>  
\<author\>Mark Twain\</author\>  
\<title\>Huckelbary Finn\</title\>  
\</book\>

it must be something incredibly simple… but i cant find it… can anyone help?
