Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. XML lib?

XML lib?

Scheduled Pinned Locked Moved The Lounge
c++htmlcombusinessxml
26 Posts 17 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nemanja Trifunovic

    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.

    T Offline
    T Offline
    Tom Archer
    wrote on last edited by
    #14

    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

    1 Reply Last reply
    0
    • N Navin

      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.

      T Offline
      T Offline
      Tom Archer
      wrote on last edited by
      #15

      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

      1 Reply Last reply
      0
      • D David Wulff

        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 :: flikr

        Die Freiheit spielt auf allen Geigen

        T Offline
        T Offline
        Tom Archer
        wrote on last edited by
        #16

        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

        1 Reply Last reply
        0
        • T Tom Archer

          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

          R Offline
          R Offline
          Ralph Wetzel
          wrote on last edited by
          #17

          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

          1 Reply Last reply
          0
          • T Tom Archer

            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

            M Offline
            M Offline
            Michael A Barnhart
            wrote on last edited by
            #18

            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.

            T 1 Reply Last reply
            0
            • T Tom Archer

              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

              S Offline
              S Offline
              Stuart van Weele
              wrote on last edited by
              #19

              We use CMarkup from these guys: http://www.firstobject.com/index.html[^] The API is very small and easy to use.

              1 Reply Last reply
              0
              • M Michael A Barnhart

                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.

                T Offline
                T Offline
                Tom Archer
                wrote on last edited by
                #20

                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

                1 Reply Last reply
                0
                • T Tom Archer

                  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

                  RaviBeeR Offline
                  RaviBeeR Offline
                  RaviBee
                  wrote on last edited by
                  #21

                  Xerces[^] :cool:  Accept no substitutes! /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

                  1 Reply Last reply
                  0
                  • T Tom Archer

                    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

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #22

                    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

                    1 Reply Last reply
                    0
                    • T Tom Archer

                      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

                      S Offline
                      S Offline
                      Stuart Konen
                      wrote on last edited by
                      #23

                      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.

                      1 Reply Last reply
                      0
                      • T Tom Archer

                        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

                        N Offline
                        N Offline
                        Nish Nishant
                        wrote on last edited by
                        #24

                        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

                        N 1 Reply Last reply
                        0
                        • N Nish Nishant

                          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

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #25

                          Oops - I should have read the other replies first :-O :-O :-O

                          1 Reply Last reply
                          0
                          • T Tom Archer

                            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

                            C Offline
                            C Offline
                            CP Visitor
                            wrote on last edited by
                            #26

                            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++[^]

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups