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. General Programming
  3. C / C++ / MFC
  4. XML Parsing in Win98

XML Parsing in Win98

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharphtmlvisual-studioxml
7 Posts 6 Posters 0 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.
  • A Offline
    A Offline
    anwar1026
    wrote on last edited by
    #1

    Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.

    C H N Z 4 Replies Last reply
    0
    • A anwar1026

      Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      TinyXML[^] will probably do the trick. It's a set of plain C++ files and is platform independant. EDIT: look here[^] first to check if that does what you need.


      Cédric Moonen Software developer
      Charting control

      1 Reply Last reply
      0
      • A anwar1026

        Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See Simple XML Parsing on WinCE 4.2 Using C++ and MSXML[^]maybe it is some helpful to you

        _**


        **_

        WhiteSky


        A 1 Reply Last reply
        0
        • H Hamid Taebi

          See Simple XML Parsing on WinCE 4.2 Using C++ and MSXML[^]maybe it is some helpful to you

          _**


          **_

          WhiteSky


          A Offline
          A Offline
          anwar1026
          wrote on last edited by
          #4

          I cannot use this parser. This uses DOM.

          K 1 Reply Last reply
          0
          • A anwar1026

            I cannot use this parser. This uses DOM.

            K Offline
            K Offline
            kakan
            wrote on last edited by
            #5

            That's partly true. But MSXML also supports SAX. SAX is a light-weight (event-driven) XML parser. I think you should evalute SAX.

            1 Reply Last reply
            0
            • A anwar1026

              Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.

              N Offline
              N Offline
              Nemanja Trifunovic
              wrote on last edited by
              #6

              anwar1026 wrote:

              I needed a very light-weight XML parser in MFC.

              As lightwight as it gets[^]

              Programming Blog utf8-cpp

              1 Reply Last reply
              0
              • A anwar1026

                Hi, I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install. Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls. Any help or comments or tips would be highly appreciated. Thanks and regards, Anwar.

                Z Offline
                Z Offline
                Zac Howland
                wrote on last edited by
                #7

                MSXML comes with Internet Explorer (which is required to be installed with Windows in every OS since Win98). It has both a DOM and SAX parser. TinyXML implements as little of the DOM standard as possible to make a decent parser. You might call it DOM-lite, but it is still, technically, a DOM parser. The nice thing about it is that you can compile it into your application. Xerces is another opensource parser that supports the full DOM and SAX standards, but since you don't want to install a DLL, this probably isn't the route you want to go. Since your OS restriction is limited to the Windows family, your best bet is to use either TinyXML or MSXML. MSXML offers all the features you would ever need and then some, and is guaranteed to be installed on all the given OS's (just make sure you bind to an older version).

                If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac

                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