So I've been having a really hard time with xml too, and I've tried all the stuff on this page including what zedden did and I just can't get it to show up.
I'm using ajax to load a file, then having an XML object load AJAX.LastData, and the text object display XML.StringValue("info").
Here's my XML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<info>HELLOWORLD</info>
And before you ask:
Yes, ajax is loading it, I can put AJAX.LastData in the text object and I get my xml back.
Yes, I have XML set to global and in the layout.
Yes, I've tried putting the XML directly in to no avail.
Thanks in advance.
----EDIT----
Ok I posted this a bit too soon. After messing with my stuff I managed to get the error: Extra content at the end of the document
Do I need a closing tag for xml files?
----EDIT----
Ok I solved my own problem. In XML you need to have one root node in which everything resides. I didn't know this before. Hopefully this post will at least help someone else with the same problem.