Click here to Skip to main content
15,902,275 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: xsl:import and xsl:include Pin
Michael A. Barnhart1-Mar-03 1:34
Michael A. Barnhart1-Mar-03 1:34 
GeneralRe: xsl:import and xsl:include Pin
Philip Patrick1-Mar-03 1:46
professionalPhilip Patrick1-Mar-03 1:46 
GeneralRe: xsl:import and xsl:include Pin
Michael A. Barnhart1-Mar-03 1:51
Michael A. Barnhart1-Mar-03 1:51 
GeneralRe: xsl:import and xsl:include Pin
Philip Patrick1-Mar-03 2:00
professionalPhilip Patrick1-Mar-03 2:00 
QuestionHow to get AppInfo/Documentation from an XML Schema via XmlDocument (DOM) in C#? Pin
Mirco J. Nimmrichter27-Feb-03 6:02
Mirco J. Nimmrichter27-Feb-03 6:02 
GeneralSimple question to get attribute of IXMLDOMNode in using MSXML Pin
adapterJohn25-Feb-03 2:20
adapterJohn25-Feb-03 2:20 
GeneralRe: Simple question to get attribute of IXMLDOMNode in using MSXML Pin
Michael A. Barnhart25-Feb-03 5:07
Michael A. Barnhart25-Feb-03 5:07 
GeneralFailed to CreateInstance while using IXMLHttpRequestPtr Pin
adapterJohn25-Feb-03 2:09
adapterJohn25-Feb-03 2:09 
Hello, I am using MSXML to get HTTP response from a webserver. The problem is when I use
pIXMLHTTPRequest.CreateInstance("Microsoft.XMLHTTP");
it always goes to error and can't continue to open the connection.
Can someone tell me where possibly the problem is, and why should I create the instance?
Many thanks in advance.
*****************************************


BOOL CAPIDlg::MakeRequest()
{

BOOL bRetVal=FALSE;
BSTR Result=NULL;

try{
MSXML::IXMLHttpRequestPtr pIXMLHTTPRequest;
HRESULT hResult;
hResult = pIXMLHTTPRequest.CreateInstance("Microsoft.XMLHTTP");
//Test the connection
if ( FAILED(hResult) ) {
MessageBox("Fail to create the connection");
return bRetVal;
}


MessageBox("Continue anyway");
//Open the connection
pIXMLHTTPRequest->open("POST",(_bstr_t)"www.yahoo.com");
//Send the request
pIXMLHTTPRequest->send();
MessageBox("Success to open");
//Get the result
Result=pIXMLHTTPRequest->responseText;
if(Result)
//Display the result
{m_Result.SetWindowText((_bstr_t)Result);
}

else
//Report error
MessageBox("Can't make the connection");




}
catch(...) {
//Report error
MessageBox("Can't initialize the HTTP request");
}

return true;


}


GeneralRe: Failed to CreateInstance while using IXMLHttpRequestPtr Pin
Michael A. Barnhart25-Feb-03 5:00
Michael A. Barnhart25-Feb-03 5:00 
GeneralRe: Failed to CreateInstance while using IXMLHttpRequestPtr Pin
adapterJohn25-Feb-03 22:38
adapterJohn25-Feb-03 22:38 
QuestionClarification Regarding Compatiblity with Managed C++/CLI [modified] Pin
pix_programmer9-Mar-11 0:33
pix_programmer9-Mar-11 0:33 
GeneralWalking Through XML in JavaScript Visiting All ChildNodes Pin
Vasudevan Deepak Kumar21-Feb-03 18:15
Vasudevan Deepak Kumar21-Feb-03 18:15 
GeneralRe: Walking Through XML in JavaScript Visiting All ChildNodes Pin
palbano24-Feb-03 4:41
palbano24-Feb-03 4:41 
Generalproblem creating XML programatically Pin
illsorted19-Feb-03 6:36
illsorted19-Feb-03 6:36 
GeneralRe: problem creating XML programatically Pin
Philip Fitzsimons24-Feb-03 2:32
Philip Fitzsimons24-Feb-03 2:32 
GeneralDifferent between XSL and XSLT Pin
Firas Rashid17-Feb-03 2:05
Firas Rashid17-Feb-03 2:05 
GeneralRe: Different between XSL and XSLT Pin
Philip Fitzsimons19-Feb-03 1:58
Philip Fitzsimons19-Feb-03 1:58 
QuestionMy xml file is displayed as a long string. How do I insert newlines? Pin
lnong16-Feb-03 1:47
lnong16-Feb-03 1:47 
AnswerRe: My xml file is displayed as a long string. How do I insert newlines? Pin
Richard Deeming17-Feb-03 3:38
mveRichard Deeming17-Feb-03 3:38 
QuestionAm I creating an XML document correctly? Pin
lnong16-Feb-03 1:29
lnong16-Feb-03 1:29 
AnswerRe: Am I creating an XML document correctly? Pin
Philip Fitzsimons19-Feb-03 2:06
Philip Fitzsimons19-Feb-03 2:06 
QuestionHow to store XML content into C/C++ structure Pin
15-Feb-03 10:23
suss15-Feb-03 10:23 
AnswerRe: How to store XML content into C/C++ structure Pin
Nitron18-Feb-03 14:19
Nitron18-Feb-03 14:19 
AnswerRe: How to store XML content into C/C++ structure Pin
palbano19-Feb-03 12:22
palbano19-Feb-03 12:22 
GeneralRe: How to store XML content into C/C++ structure Pin
palbano19-Feb-03 12:24
palbano19-Feb-03 12:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.