Hi,
My responseXML is always null on my AJAX call. When I browse directly
to the PHP script I am calling, the XML file shows up just fine.
I have read that if a returned XML file is not valid, it will always
appear as null. I am just returning some basic XML like:
<?xml version='1.0' encoding='UTF-8'?>
<XMLData>
<person>kevin </person>
<person>mac</person>
<person>malts y</person>
</XMLData>
I do not want to have to write a schema or DTD or anything if
possible. I just want to return this from a script to an AJAX call.
Is this what is causing this to happen? Is there a way around this if
it is?
Thanks.
Kevin
My responseXML is always null on my AJAX call. When I browse directly
to the PHP script I am calling, the XML file shows up just fine.
I have read that if a returned XML file is not valid, it will always
appear as null. I am just returning some basic XML like:
<?xml version='1.0' encoding='UTF-8'?>
<XMLData>
<person>kevin </person>
<person>mac</person>
<person>malts y</person>
</XMLData>
I do not want to have to write a schema or DTD or anything if
possible. I just want to return this from a script to an AJAX call.
Is this what is causing this to happen? Is there a way around this if
it is?
Thanks.
Kevin
Comment