The XML that the DB returns, looks like this:
<?xml version="1.0"?>
<rowset>
<row>
<column_name>value</column_name>
<column_name>value</column_name>
....
</row>
</rowset>
After playing with code for a while now, I believe that the
problem is not with the returned XML.
The page that runs the SP is the page that call the SP. What
means that the white-spaces are the code that the Coldfusion engine
has already processed (although, the condition that checks whether
the form variable that Ajax request, exist. Is the first thing on
the page). to my understanding, the returned XML should be at the
top of the page.
I hope that I was clear enough.
Thank you.