Flash Q
Flash Q
- Started
- Last post
- 6 Responses
- ********
I have an issue with text coming in from an XML file.
any apostrophes are displayed as the character code "'".
How do I sort this out so that the characters are displayed correctly.I gather it's pretty easy to sort, but my thick brain seems to be struggling
- fate_0
Convert it to a string, like so...
var document = new XML();
document.onload=loadHand
document.load("FILE.xml");function loadHand(){
someVar=document.loaded.toString...
}
- ScottTheRobot0
Instead of using blahblahblah.childNodes , use blahblahblah.childNodes.nodeValu...
- ScottTheRobot0
I had the same problem... code should actually look something like this:
this.firstChild.nodeValue.toStri...
- caseyc0
Also, try using CDATA:
- caseyc0
Haha, should have known better than that... Here:
- ********0
cheers chaps!