# Xml quote, apostraphe issue

**URL:** https://forum.kirupa.com/t/xml-quote-apostraphe-issue/233701
**Category:** Uncategorized
**Created:** [July 26, 2007, 5:57am UTC](https://forum.kirupa.com/t/xml-quote-apostraphe-issue/233701 "2007-07-26T05:57:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![robinkmedia](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@robinkmedia](https://forum.kirupa.com/u/robinkmedia)
#### Post date: [July 26, 2007, 5:57am UTC](https://forum.kirupa.com/t/xml-quote-apostraphe-issue/233701/1 "2007-07-26T05:57:07Z")

</div>

Pretty new to xml/flash integration and need to display quotes/apostrophes:

I’m declaring like this:  
function loadData() {

```
quoteXML = new XML();
quoteXML.load("quote.xml");
quoteXML.ignoreWhite = true;
quoteXML.onLoad = function(success) {

```

var i = Math.round(Math.random()_(quoteXML.firstChild.childNodes.length-1));  
//trace(i);  
quote = (quoteXML.firstChild.childNodes_.childNodes[0].childNodes[0]);  
author = (quoteXML.firstChild.childNodes\*.childNodes[1].childNodes[0]);

```
};

```

}  
loadData();  
//  
//  
machine.onRelease=function(){  
loadData();  
}

And then nodes are as so:  
\<QUOTE\>  
\<TEXT\>  
“I do not feel obliged to believe that the same’’”"’’ God who has endowed us with sense, reason, and intellect has intended us to forgo their use."  
\</TEXT\>  
\<AUTHOR\>  
Galileo Galilei  
\</AUTHOR\>  
\</QUOTE\>

The quotes in there are just for testing- it all works fine except I get the &quote displayed-  
Any help would be GREATLY appreciated!  
Thanks in advance!
