Xml parser C
-
how to parse an xml file using c code. pls help me
Arise Awake Stop Not Till ur Goal is Reached.
-
how to parse an xml file using c code. pls help me
Arise Awake Stop Not Till ur Goal is Reached.
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
-
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
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.
-
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.
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
-
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
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