Parsing XML in C++

This is a discussion on Parsing XML in C++ within the C++ Programming forums, part of the General Programming Boards category; What is the most used library for parsing XML in C++?...

  1. #1
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438

    Parsing XML in C++

    What is the most used library for parsing XML in C++?

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    I did a quick search, these two look alright:
    http://xml.apache.org/xerces-c/
    http://www.perfectxml.com/soft.asp?cat=5
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    You might also want to check out TinyXML.
    TinyXml is a simple, small, C++ XML parser that can be easily integrating into other programs.

    The URL is: http://www.grinninglizard.com/tinyxml/

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    20,968
    I'm currently looking into this myself, and am considering libxml2 with Arabica.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    And of course libxml, which is really a C library but can be used in C++. And there's a C++ wrapper.

    laserlight was faster...

    And there's Expat
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #6
    Registered User gandalf_bar's Avatar
    Join Date
    Oct 2003
    Posts
    92
    libxmlplusplus.sf.net
    A man asked, "Who are you?"
    Buddha answered, "I am awaked."

  7. #7
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359
    Does no one use the msxml? I know its COM based the latest version. Wouldn't that do the trick?
    Be a leader and not a follower.

  8. #8
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    [plug]If you want to use MSXML, check out DispHelper, especially the xml sample.[/plug]

  9. #9
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    I should mention, I'm going to be deploying on Linux.

  10. #10
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359
    oh well, nevermind cocker. There goes the msxml for ya. Your probably better off without it anyway.
    Be a leader and not a follower.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parsing Xml
    By deviousdexter in forum C# Programming
    Replies: 7
    Last Post: 04-24-2009, 06:29 AM
  2. Parsing XML with C without 3rd party libs
    By mike_morley in forum C Programming
    Replies: 13
    Last Post: 12-18-2008, 01:21 PM
  3. xml file parsing in C
    By lonbgeach in forum Tech Board
    Replies: 31
    Last Post: 12-14-2006, 01:14 AM
  4. XML Parsing
    By Mareq in forum C++ Programming
    Replies: 8
    Last Post: 11-09-2005, 08:20 PM
  5. XML File Parsing
    By WebSnozz in forum C++ Programming
    Replies: 0
    Last Post: 04-21-2002, 03:24 AM

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