XML using C/C++
-
Hi, can anyone help me please! I'm trying to load this sipmple XML into memory and then store the XML data into a structure so that my other programs can access this structure for retrieving data when needed. The XML document is: John Moss 28 8 Polygon Road London UK Karate Second degree black belt 1992 1994 1995 1996 So far I can only managed to load and display this document using (MSXML4)XMLLoad but how can I store these data into C/C++ structure? Please help as I'm completely terrible at C/C++ :confused:. Many thanks!!
-
Hi, can anyone help me please! I'm trying to load this sipmple XML into memory and then store the XML data into a structure so that my other programs can access this structure for retrieving data when needed. The XML document is: John Moss 28 8 Polygon Road London UK Karate Second degree black belt 1992 1994 1995 1996 So far I can only managed to load and display this document using (MSXML4)XMLLoad but how can I store these data into C/C++ structure? Please help as I'm completely terrible at C/C++ :confused:. Many thanks!!
>> but how can I store these data into C/C++ structure well the document object ur creating using MSXML IS a tree structure so u already have one eh? if u need it to be in a different structure then can u expand on that?
"No matter where you go, there your are..." - Buckaoo Banzi
-pete
-
>> but how can I store these data into C/C++ structure well the document object ur creating using MSXML IS a tree structure so u already have one eh? if u need it to be in a different structure then can u expand on that?
"No matter where you go, there your are..." - Buckaoo Banzi
-pete
Hi Palbano, thank you very much for the reply, I understood that the DOM is already a tree struture, what I'd like to do is to transfer these data into another structure written in C/C++, which unfortunately I'm very terrible at. Would it be possible if you can show me how this is done by providing an example skeleton code. Much appreciated!