Hello,
Here is the code you need to set the values for SharePoint 2007,
XDocument.GetDOM("GetListItems").selectSingleNode("/dfs:myFields/dfs:queryFields/ns5:GetListItems/ns5:listName").text = "BD94111A-E62A-4974-839F-0CEEBE77B297" //Library ID;
XDocument.GetDOM("GetListItems").selectSingleNode("/dfs:myFields/dfs:queryFields/ns5:GetListItems/ns5:viewName").text = "C9A0250C-90FB-4629-8F9E-061E3C5D4BA9";//ViewGuid
For quere node you have to set promoted property name
fileQueryNode.selectSingleNode("Where/Eq/FieldRef/@Name").text = "xd__x007b_3C2F9DDC_x002d_834A_x002d_4FB9_x002d_94DB_x002d_6AB50EE2D6EB_x007d_"//PromotedPropertyName