B
BCC
Hi,
I have a small app that needs to read in an xml file that I create, and then
initialize some variable and objects with the data in the file.
Ive taken a look around and still cant decide which way I should go for c++
in VC7.
I downloaded and installed xerces, and holy crappola, there is waaaaay too
much information there for me to sort out what I need. Between the DOM,
event driven SAX1, SAX2, I have really no clue where to go.
I managed to use SAX2 to read in my xml document, but I cant find any
documentation anywhere that tells me how to extract the info I need from the
xml and use it. All the sample apps from the xerces site either read in a
file or just write one out... I dont see where they read one in and suck out
the data within the file. Very frustrating.
Is xerces really the best way to go?? Seems like way overkill for what I
want to do, and quite simply, I cant figure out how to use it. .NET has its
own xml parser, but I dont want to use managed C++.
Do I want to use DOM or SAX? Are there other smaller utilities that will
get me to where I want to go?
Any suggestions are appreciated.
Bryan
I have a small app that needs to read in an xml file that I create, and then
initialize some variable and objects with the data in the file.
Ive taken a look around and still cant decide which way I should go for c++
in VC7.
I downloaded and installed xerces, and holy crappola, there is waaaaay too
much information there for me to sort out what I need. Between the DOM,
event driven SAX1, SAX2, I have really no clue where to go.
I managed to use SAX2 to read in my xml document, but I cant find any
documentation anywhere that tells me how to extract the info I need from the
xml and use it. All the sample apps from the xerces site either read in a
file or just write one out... I dont see where they read one in and suck out
the data within the file. Very frustrating.
Is xerces really the best way to go?? Seems like way overkill for what I
want to do, and quite simply, I cant figure out how to use it. .NET has its
own xml parser, but I dont want to use managed C++.
Do I want to use DOM or SAX? Are there other smaller utilities that will
get me to where I want to go?
Any suggestions are appreciated.
Bryan