Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: XML namespace problem i think Pin
Tom Archer14-Jun-05 10:37
Tom Archer14-Jun-05 10:37 
GeneralRe: XML namespace problem i think Pin
LCI14-Jun-05 10:56
LCI14-Jun-05 10:56 
GeneralRe: XML namespace problem i think Pin
Tom Archer14-Jun-05 11:20
Tom Archer14-Jun-05 11:20 
GeneralRe: XML namespace problem i think Pin
LCI14-Jun-05 11:30
LCI14-Jun-05 11:30 
GeneralRe: XML namespace problem i think Pin
Tom Archer14-Jun-05 11:35
Tom Archer14-Jun-05 11:35 
GeneralRe: XML namespace problem i think Pin
LCI14-Jun-05 11:37
LCI14-Jun-05 11:37 
GeneralRe: XML namespace problem i think Pin
LCI14-Jun-05 11:48
LCI14-Jun-05 11:48 
GeneralRe: XML namespace problem i think Pin
Tom Archer14-Jun-05 12:17
Tom Archer14-Jun-05 12:17 
Honestly, there's all sorts of issues here
* incorrect error checking
* use of incorrect types
* calling load when the file doesn't exist
* appending a node before you've created one
* appending a data node before the processing noe
* ...

I started to correct them all, but I think I found some code you can copy & paste that will get you started. Have a gander at http://www.codecomments.com/archive308-2004-5-195084.html[^] as this person is creating a simple document with a declaration node also. I ran the code and it works so this should get you started.

By the way, he's using the "older" style of manually using pointers and releasing them and so - as opposed to smart pointers. However, I'd just leave his code as is until you get a better feel for using the MSXML and then change it later.

At least that's the way I've always coded - get it to work first and then make it pretty.

Cheers,
Tom Archer - Archer Consulting Group

"So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe
GeneralRe: XML namespace problem i think Pin
LCI15-Jun-05 5:56
LCI15-Jun-05 5:56 
GeneralMultiple languages in single resource file Pin
senseilee14-Jun-05 3:38
senseilee14-Jun-05 3:38 
GeneralRe: Multiple languages in single resource file Pin
Blake Miller14-Jun-05 9:19
Blake Miller14-Jun-05 9:19 
General[out] parameters for ActiveX control interface Pin
Ian Bowler14-Jun-05 6:31
Ian Bowler14-Jun-05 6:31 
GeneralRe: [out] parameters for ActiveX control interface Pin
Ian Bowler14-Jun-05 8:36
Ian Bowler14-Jun-05 8:36 
Generalbizarre asm problem Pin
heebiejeebies14-Jun-05 5:19
heebiejeebies14-Jun-05 5:19 
GeneralCOleDateTime AddDays() Pin
DanYELL14-Jun-05 4:57
DanYELL14-Jun-05 4:57 
GeneralRe: COleDateTime AddDays() Pin
David Crow14-Jun-05 2:10
David Crow14-Jun-05 2:10 
GeneralRe: COleDateTime AddDays() Pin
DanYELL14-Jun-05 5:56
DanYELL14-Jun-05 5:56 
GeneralRe: COleDateTime AddDays() Pin
David Crow14-Jun-05 3:03
David Crow14-Jun-05 3:03 
GeneralConvert CString to CTime / COleDateTime Pin
P-Rex14-Jun-05 4:39
P-Rex14-Jun-05 4:39 
GeneralRe: Convert CString to CTime / COleDateTime Pin
David Crow14-Jun-05 2:07
David Crow14-Jun-05 2:07 
GeneralRe: Convert CString to CTime / COleDateTime Pin
P-Rex14-Jun-05 5:17
P-Rex14-Jun-05 5:17 
GeneralRe: Convert CString to CTime / COleDateTime Pin
David Crow14-Jun-05 2:22
David Crow14-Jun-05 2:22 
GeneralRe: Convert CString to CTime / COleDateTime Pin
DavidR_r14-Jun-05 8:00
DavidR_r14-Jun-05 8:00 
GeneralRe: Convert CString to CTime / COleDateTime Pin
David Crow14-Jun-05 8:04
David Crow14-Jun-05 8:04 
GeneralRe: Convert CString to CTime / COleDateTime Pin
JWood14-Jun-05 6:03
JWood14-Jun-05 6:03 

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.