Wrinting as xml
-
Hi All , i have some data(raw data) and i want to save those as xml in to hardisk , how do i do it in vc++,can any one help me sending the link or give an idea . Regards Farpointer
-
Hi All , i have some data(raw data) and i want to save those as xml in to hardisk , how do i do it in vc++,can any one help me sending the link or give an idea . Regards Farpointer
I suggest that you read up on MSXML. You still need to read the "raw" data yourself, though - either by reading it into a datastructure or - if its "human readable" - by parsing it into one. MSXML provides loads of functions to read and write XML files. There are some other XML libs out there that might be more advanced or sophisticated, but until now, I only had to read a few setting from a file that held some configuration options. MSXML should be available on most win-boxes, though I am not sure about the relation between windows-version/SP and msxml-release. With VC7, you could also use the tools provided by the .NET-Runtime, which handles XML pretty well, but would require the .NET Redistributable to be installed on the target system. If you need further information on XML per se: I think a saw a free EBook on the O'Reilly-Website dealing with XML in general. Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.
-
Hi All , i have some data(raw data) and i want to save those as xml in to hardisk , how do i do it in vc++,can any one help me sending the link or give an idea . Regards Farpointer
farpointer wrote:
one help me sending the link or give an idea
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