Help on xml file

let say i have this on my xml file
<title>name age height</title>

but on flash file i want them to display like this

name
age
height

on new line each

What’s the point in using XML if you’re going to separate different pieces of data with a space? :lol:

But nevertheless… try String.split(" “).join(”
")

how exactlly …

Well, I assume you’ve already loaded the XML file. Then, if you do xml.firstChild.firstChild.nodeValue.split(" “).join(”
") then you should get the contents of the node with all spaces replaced with newlines.

root.childNodes[2].childNodes.split(" ").join("
") 

i did this and giving me undefine

the root is not the _root it just a referenct to the root of xml file