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. XML / XSL
  4. Xml parser C

Xml parser C

Scheduled Pinned Locked Moved XML / XSL
xmlhelptutorial
5 Posts 3 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.
  • D Offline
    D Offline
    deeps_cute
    wrote on last edited by
    #1

    how to parse an xml file using c code. pls help me

    Arise Awake Stop Not Till ur Goal is Reached.

    S 1 Reply Last reply
    0
    • D deeps_cute

      how to parse an xml file using c code. pls help me

      Arise Awake Stop Not Till ur Goal is Reached.

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Ever tried google http://www.google.com/search?hl=en&q=xml+parser+c&btnG=Search[^]


      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      www.troschuetz.de

      D 1 Reply Last reply
      0
      • S Stefan Troschuetz

        Ever tried google http://www.google.com/search?hl=en&q=xml+parser+c&btnG=Search[^]


        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

        www.troschuetz.de

        D Offline
        D Offline
        deeps_cute
        wrote on last edited by
        #3

        ok but i have to write c code in linux. i cant use any downloaded code

        Arise Awake Stop Not Till ur Goal is Reached.

        S 1 Reply Last reply
        0
        • D deeps_cute

          ok but i have to write c code in linux. i cant use any downloaded code

          Arise Awake Stop Not Till ur Goal is Reached.

          S Offline
          S Offline
          Stefan Troschuetz
          wrote on last edited by
          #4

          deeps_cute wrote:

          ok but i have to write c code in linux. i cant use any downloaded code

          The second hit from google states that "Libxml2 is known to be very portable, the library should build and work without serious troubles on a variety of systems (Linux, Unix, Windows, CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)" The XML C parser and toolkit of Gnome - libxml[^] If you mean that you want to write your own XML parser that will be a very challenging task and most probably no one here can give you complete code for this. Your best bet would be to take a look at the sources of the available parsers to see how they tackle the problem.


          "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

          www.troschuetz.de

          D 1 Reply Last reply
          0
          • S Stefan Troschuetz

            deeps_cute wrote:

            ok but i have to write c code in linux. i cant use any downloaded code

            The second hit from google states that "Libxml2 is known to be very portable, the library should build and work without serious troubles on a variety of systems (Linux, Unix, Windows, CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)" The XML C parser and toolkit of Gnome - libxml[^] If you mean that you want to write your own XML parser that will be a very challenging task and most probably no one here can give you complete code for this. Your best bet would be to take a look at the sources of the available parsers to see how they tackle the problem.


            "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

            www.troschuetz.de

            D Offline
            D Offline
            DavidNohejl
            wrote on last edited by
            #5

            Stefan Troschuetz wrote:

            If you mean that you want to write your own XML parser that will be a very challenging task and most probably no one here can give you complete code for this.

            If memory serves well there are some articles... At least one XML parser in C++ - probably portable to linux.


            "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

            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