Newbie: What XML to use?

Discussion in 'XML' started by rjm12@hotmail.com, Jul 27, 2005.

  1. Guest

    Hi All,

    I am new to XML, and have a few questions. First here is what I am
    trying to do. I have a Debian based Embedded Linux system, which I
    would like to use XML config files. These files will be parsed and
    action taken. These files are only about 10K large, and I have 16M of
    RAM. All coding is done in "C".

    1.) Which library should I use, libxml or libxml2? What is the
    difference, libxml seems smaller?
    2.) DOM or SAX? It seems as if my files are small enough to use DOM.

    I have found some "C" examples using DOM, but I am having trouble
    finding "C" examples using SAX.

    Any help would be appreciated.

    Thanks,

    Rob
    , Jul 27, 2005
    #1
    1. Advertising

  2. wrote:

    > 1.) Which library should I use, libxml or libxml2? What is the
    > difference, libxml seems smaller?


    The APIs of both differ. See the doc.
    You should at least consider Expat.
    But libxml is probably more comfortable if you
    have enough memory.

    > I have found some "C" examples using DOM, but I am having trouble
    > finding "C" examples using SAX.


    Expat comes with a few short examples in the SAX style.
    J??rgen Kahrs, Jul 27, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Smits

    Newbie: XML 2 XML and namespaces

    Mark Smits, Sep 17, 2003, in forum: XML
    Replies:
    2
    Views:
    652
    Mark Smits
    Sep 21, 2003
  2. Clive
    Replies:
    1
    Views:
    372
    Peter Flynn
    Aug 21, 2005
  3. iamaran
    Replies:
    1
    Views:
    416
    iamaran
    Dec 23, 2005
  4. Replies:
    1
    Views:
    185
  5. Erik Wasser
    Replies:
    5
    Views:
    449
    Peter J. Holzer
    Mar 5, 2006
Loading...

Share This Page