Menu

newbie question....

surfer
2004-11-11
2013-05-20
  • surfer

    surfer - 2004-11-11

    I am new to tinyXML, but I really appreciate your contribution and hard work with my full heart.

    I have a question anyway. What's going to be the best way to use the tinyXML in my C code (not C++) ? Do I have to port the whole tinyXML to C or
    put some "extern "C" ...." whatever in the tinyXML code or any other way you  can suggest ?

    I know there are some XML parser written in C, but those are much bigger than tinyXML and usually have unnecessarily more features that I need.

    Any comments or advice is going to be appreciated.

    Thanks.

     
    • surfer

      surfer - 2004-11-11

      sorry about posting somewhat stupid question hastly. Anyway I think I've almost got this one. If anyone wants to know how to take care of this case, please respond under this thread.

      thanks.

       
      • Ellers

        Ellers - 2005-02-08

        I'm interested to know your strategy. If you have time, please post some more comments, like how you iterate through nodes using only a C interface.

        I would've thought there would be C-only toolkits out there already?

         
        • Andrew Ziem

          Andrew Ziem - 2005-02-08

          There are C-only XML parsers.  See for example Libxml2 <http://xmlsoft.org/>.

           
    • Ellers

      Ellers - 2004-11-11

      Not to respond with a stupid response, but are you sure you have to stick with C? There's bound to be a C-only parser out there, but there's much more available (not to mention much more SANITY available!) if you stick with C++.

       
    • surfer

      surfer - 2004-11-12

      thanks for your response. yup, i have better stick with  C due to our own situation, but still want to use tinyXML anyway. thanks again.

       
      • rob

        rob - 2005-02-08

        I'm also planning to convert tinyXml to C.  If you have any tips please post them - I'd greatly apppreciate it.  Thanks.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.