Missing information from Xml

Dec 1, 2009 at 2:39 PM

Hello,

I do a query in Facebook's database and i load the returning results with this command:

 


xmlDoc.LoadXml(fBookServ.fql.query(newQuery));


where the variable newquery is the query "SELECT uid FROM user WHERE name='" + facebookUsername + "'"

Then i save the results into an XML file with this command:


xmlDoc.Save("c:\\results.xml");


The problem is that is missing the results from the query. The only thing that i get is this:


<?xml version="1.0" encoding="UTF-8" ?>
  <fql_query_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" list="true" />


 i expected something like this

<?xml version="1.0" encoding="UTF-8"?>

<fql_query_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" list="true">

<user>

<uid>xxxxxxxxx</uid>

</user>

</fql_query_response>

as i get from the facebook's test console!!! What is going wrong?