Please look at the sample programs found @
http://xml.apache.org/xerces-c/samples.html
<http://xml.apache.org/xerces-c/samples.html>  or discussion archives found
@ http://marc.theaimsgroup.com/?l=xerces-c-dev
<http://marc.theaimsgroup.com/?l=xerces-c-dev> . They have answers to most
if not all of your questions.
 
Bhushan
 
 -----Original Message-----
From: Bavishi, Pankij [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:56 PM
To: [EMAIL PROTECTED]
Subject: RE: BSTR



I have a xml document that I need to load to parse.

Does parser->parse(xmldoc) will do it?

Sorry it may be basic but I just need to confirm

appreciate

 

-----Original Message-----
From: Murphy, James [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 07, 2002 11:59 AM
To: '[EMAIL PROTECTED]'
Subject: RE: BSTR

 

No - you have to translate one to the other using transcode to get the
transcoded characters from a DOM string and create a BSTR from that.  BSTRs
have to reside in a special memory heap.  Depending in your environment you
might like ATL' s CComBSTR class to accept and managed the characters from
transcode.  

 

DOMString domString("foo");

CComBSTR bstrString(domString.transcode())

 

Jim

-----Original Message-----  
From: Bavishi, Pankij [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 11:20 AM
To: [EMAIL PROTECTED]
Subject: BSTR

 

Thanks guys for my former query.

Just want to confirm one more thing:

Is BSTR compatible with DOMString? Can I replace BSTR with DOMString if I am
working on VC++?

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to