Is there any way to execute XQuery through MFC or C++ (This question Previously left with no answer)
-
Hi, Is there any way to execute XQuery through MFC Code, I know How to use MSXML.DLL to load xml documents and navigate the XML document But I am looking for a method like ExecuteSQL("") to execute my XQuery statements? I am in need of knowing that But I can't find anything
-
Hi, Is there any way to execute XQuery through MFC Code, I know How to use MSXML.DLL to load xml documents and navigate the XML document But I am looking for a method like ExecuteSQL("") to execute my XQuery statements? I am in need of knowing that But I can't find anything
Amir_m wrote:
Is there any way to execute XQuery through MFC Code...
How would you do it outside of code?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Amir_m wrote:
Is there any way to execute XQuery through MFC Code...
How would you do it outside of code?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
With a rusty pipe, strangulation, starvation or torture. Pretty sure these are all outside of code (well in most countries anyway)
-
Amir_m wrote:
Is there any way to execute XQuery through MFC Code...
How would you do it outside of code?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
I Think I could make my problem more clear by the following code:
class CMyAppDlg : public CDialog
{
MSXML2::IXMLDOMDocumentPtr m_pXMLDoc;
_RecordsetPtr m_pRs;//PRs is a ADO record set....
};
CString fileName(_T("C:\test.xml"));
m_pXMLDoc->load(fileName.AllocSysString());//so I am looking for a method like
m_pRs m_pXMLDoc->ExecuteXQuery(_T("My XQuery Statement"));of course any other solution that gives me a record set of My XQuery will be useful too