Click to See Complete Forum and Search --> : Putting Xml Data in a C++ Window


posty68
October 27th, 2000, 07:55 AM
Hi
can anyone tell me if it is possible to input your XML output into a C++ window ?
if so any hints on how ?
thanks

sharma-kapil
October 27th, 2000, 07:33 PM
[i]Can you explain more clearly? Do you mean that you have an xml document and you want it make it a input of some programin c++? If yes then you must be knowing that xml document should be represented as a tree of objects and basically what you need to do is that you need to create a tree of xml elements(elements may have attributes as its aux data) and then write an algorithm which can traverse the tree and parse the elements.

~ Rating helps know whether you were helped
~ ks

sharma-kapil
October 27th, 2000, 07:34 PM
[i]Can you explain more clearly? Do you mean that you have an xml document and you want it make it a input of some programin c++? If yes then you must be knowing that xml document should be represented as a tree of objects and basically what you need to do is that you need to create a tree of xml elements(elements may have attributes as its aux data) and then write an algorithm(in your c++ program) whick takes this tree as input,traverse the tree and parse the elements.

~ Rating helps know whether you were helped
~ ks