INI to XML conveersion (very urgent)
-
Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx
-
Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx
see
msxml 4.0
anddom
in msdn "Do first things first, and second things not at all." — Peter Drucker. -
Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx
As you mentioned swaapu wrote: ABCD.yak [Section1] Key1=ABCD Key2=20 you can convert into xml like this <section1> <Key1>ABCD</Key1> <Key2>20</Key2> </section1> now if you need tool/class to read and write it, this would be good start http://www.codeproject.com/soap/markupclass.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV -- modified at 7:12 Thursday 13th October, 2005
-
Hi I am learning MFC exe application. I have to convert ini files to xml files through my application. My sample ini file(ABCD.yak) is: ABCD.yak [Section1] Key1=ABCD Key2=20 Can anybody tell me how to convert it into an xml file using mfc. Please tell me which functions should I make? Thanx
What have you got coded up so far that you need help with? This makes at least the fourth time you've asked this same question but it does not appear you are making any progress whatsoever. We're here to help but you have to make a concerted effort.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb