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

XML / XSL

 
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 
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 
Hi!
Will this code work with Managed C++/CLI also? What else need to be done to make this code work with Managed C++?

int _tmain(int argc, _TCHAR* argv[])
{
	std::ostringstream XmlLogrequest;
	XmlLogrequest << "<?xml version="
		<< "\""
		<< "1.0" 
		<< "\""
		<< "?>"
		<< "<request action = " 
		<< "\"registration" 
		<< "\""
		<< ">"
		<< "<element id=" 
		<< "\"id001" << "\""
		<< ">"

//cout << XmlLogrequest.str();
	IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL;
	BSTR bstrString = NULL;
	HRESULT hr = CoInitialize(NULL);
	string test = XmlLogrequest.str().substr(0,XmlLogrequest.str().size());
	cout << test<<"\n";
	try {
		hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP.3.0");
		//SUCCEEDED(hr) ? 0 : throw hr;

		pIXMLHTTPRequest->open("POST", "https://live.jqk365.com/cgibin/EClientIntegration",false);
	//	SUCCEEDED(hr) ? 0 : throw hr;
		
		hr=pIXMLHTTPRequest->send(test.c_str());
		SUCCEEDED(hr) ? 0 : throw hr;

		bstrString=pIXMLHTTPRequest->responseText;
        
		MessageBox(NULL, _bstr_t(bstrString), _T("Results"), MB_OK);
		if(bstrString)
		{
			::SysFreeString(bstrString);
			bstrString = NULL;
		}

	} catch (...) {
		MessageBox(NULL, _T("Error"), _T("Error"), MB_OK);
		if(bstrString)
			::SysFreeString(bstrString);
	}


	return 0;
}

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 
GeneralXML Docs/Comments Pin
mgarwood15-Feb-03 6:42
mgarwood15-Feb-03 6:42 
GeneralI need your suggestion about storing data as XML Pin
lnong14-Feb-03 14:46
lnong14-Feb-03 14:46 
GeneralRe: I need your suggestion about storing data as XML Pin
Nitron18-Feb-03 14:24
Nitron18-Feb-03 14: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.