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"?>
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.
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?
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.