XML lib?
-
You should read this book[^] and see how to use XmlReader. Oh, wait :doh: Nevermind... Look at this[^] for instance.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
Funny guy :) Actually, expat was the library I had heard of before and couldn't recall its name. Thanks Nemanja. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
-
Expat[^] is a good choice. I have had mixed experiences with MSXML - not all machine have it (although most recent machines should), and I've heard of it having memory leaks. But if you are doing something simple, that might not be an issue. The generation of random numbers is too important to be left to chance.
Thanks Navin. I've used - and written about - MSXML, but I don't know the distro issue regarding people that are not using IE so I was hoping for a 3rd party solution. Expat was what I was looking for as I had heard it before, but couldn't recall its name. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
-
I agree, I've used that more times than I can remember. Just drop in and use. :cool:
Ðavid Wulff The Royal Woofle Museum
Audioscrobbler :: flikrDie Freiheit spielt auf allen Geigen
Seems to address the very issue I'm trying to - avoiding complex distro issues. Thanks to you both. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
Try TinyXML ... easy & good & free! std::string or CString, no MFC dependencies ... small ... what else do you need ? You can find it here![^] Greetings, Ralph
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
From the MS site redistribution is fairly clear. MSXML Download and redist[^] you have several options Instructions There are four options for downloading MSXML 4.0 Service Pack 2 (SP2): Use msxml.msi to install MSXML 4.0 SP2 and the SDK on your computer. You may also save msxml.msi to your local disk to install later. The MSXML 4.0 SP2 SDK is not installed by default. You must select the custom install option to install the SDK. Use msxmlsdk.exe to download the redistributable merge module xmlsdk4.msm to distribute with your setup application. Include msxml4sxs32.msm and msxm4sys32.msm in your msi installer. To get these files run msxml4msms.exe. For more information about packaging these msm files, see the release notes. Use msxmlcab.exe to download the CAB file to redistribute MSXML over the Internet. Another option is Simon Fell's PocketSoap[^] I do not mind getting old. It beats all the other options that can think of.
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
We use CMarkup from these guys: http://www.firstobject.com/index.html[^] The API is very small and easy to use.
-
From the MS site redistribution is fairly clear. MSXML Download and redist[^] you have several options Instructions There are four options for downloading MSXML 4.0 Service Pack 2 (SP2): Use msxml.msi to install MSXML 4.0 SP2 and the SDK on your computer. You may also save msxml.msi to your local disk to install later. The MSXML 4.0 SP2 SDK is not installed by default. You must select the custom install option to install the SDK. Use msxmlsdk.exe to download the redistributable merge module xmlsdk4.msm to distribute with your setup application. Include msxml4sxs32.msm and msxm4sys32.msm in your msi installer. To get these files run msxml4msms.exe. For more information about packaging these msm files, see the release notes. Use msxmlcab.exe to download the CAB file to redistribute MSXML over the Internet. Another option is Simon Fell's PocketSoap[^] I do not mind getting old. It beats all the other options that can think of.
Thanks Michael, I'm actually using the MSXML parser now but was concerned about destro. This is for an anti-spyware app so I just need the ability distribute the runtime files - not the SDK - so I'll have a look at that page in regards to that. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
Isn't SAX the alternative API when you just want forward only access ? I don't know of any implimentations, but I'm sure google does. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
You can get a sneak preview of the FSEC library and its included XML library by visiting http://fsec.sourceforge.net/src/XMLManip/ for the source and http://fsec.sourceforge.net/docs/xmlmanip/ for the documentation. As far as I can tell it's the easiest XML Library available, even I use it on a regular basis. I'm always up for feedback, e-mail me at skonen@gmail.com.
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
There's a free SAX based parser library called Expat, that's cross-OS compatible. Haven't used it in a while, but it only took me about 15-20 minutes to get a hang of it and then I could use it with ease. Someone here at CP has written a C++ wrapper for the C-API exposed by Expat. Nish
-
There's a free SAX based parser library called Expat, that's cross-OS compatible. Haven't used it in a while, but it only took me about 15-20 minutes to get a hang of it and then I could use it with ease. Someone here at CP has written a C++ wrapper for the C-API exposed by Expat. Nish
Oops - I should have read the other replies first :-O :-O :-O
-
In a current client's native MFC application, I'm moving his data to XML format. Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant
Tom Archer wrote: Can anyone recommend a very easy-to-use XML API for reading the data. I don't need full DOM support; just forward sequential access. In addition to the other posters here are some more "exotic" links: SBXP XML Parser[^] Parsifal validating XML 1.0 parser[^] Mini-XML [^] iksemel[^] Genx [^] BXML-CWXML [^] XML for C++[^]