string <span style="font-family: Arial, Helvetica, sans-serif;">m_strXmlContent="dfsafsdadfa";</span>
stringstream strData; strData <<m_strXmlContent; fstream oFile; oFile.open("DoQuery.xml", ios_base::out); oFile << strData.str().c_str(); oFile.close();