reading and writing xml using c

This is a discussion on reading and writing xml using c within the C Programming forums, part of the General Programming Boards category; how we read and write xml using c. i searched through google i didnot find any. can anyone provide me ...

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    90

    reading and writing xml using c

    how we read and write xml using c.
    i searched through google i didnot find any.
    can anyone provide me the tutorials or examples .
    thank u,
    sree.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You are dumb. four words, one click


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    90

    thank u

    i downloaded libxml
    and i try to compile on program but geeting some error .
    they are
    i complied with:
    gcc -Wall -g -L/usr/include/libxml2 -c -o outline.o 1.c
    error:
    1.c:16:27: error: libxml/parser.h: No such file or directory
    1.c:17:25: error: libxml/tree.h: No such file or directory
    1.c:18:29: error: libxml/xinclude.h: No such file or directory
    1.c:19:26: error: libxml/xmlIO.h: No such file or directory
    1.c: In function ‘main’:
    1.c:164: warning: implicit declaration of function ‘exit’
    1.c:164: warning: incompatible implicit declaration of built-in function ‘exit’
    how we should includee libxml files

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,588
    > -L/usr/include/libxml2
    Plus
    > 1.c:16:27: error: libxml/parser.h: No such file or directory
    Must be a filename, eg
    /usr/include/libxml2/libxml/parser.h

    Figure out where you really installed it (assuming you did, and it's not just still in a zip file), and adjust the -L command line option so that libxml/parser.h can be found.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-05-2009, 02:14 AM
  2. Pipe: writing and reading.
    By apacz in forum C Programming
    Replies: 0
    Last Post: 06-07-2006, 11:12 AM
  3. Reading from and writing to same file
    By Strait in forum C++ Programming
    Replies: 2
    Last Post: 02-01-2005, 03:37 PM
  4. file writing and reading
    By Micko in forum C Programming
    Replies: 8
    Last Post: 01-13-2004, 10:18 AM
  5. reading from the open socket then writing to a file...
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 07-06-2002, 04:15 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21