Thread: Cross platform XML library

  1. #1
    Registered User Josh Kasten's Avatar
    Join Date
    Jul 2002
    Posts
    109

    Question Cross platform XML library

    I'm looking for a easy and cross platform XML library. I found xerces can be used with C++ and is cross platform but can't find any tutorials on it. Anyone know any good tutorials on xerces or know of any other better XML library let me know.
    int a; don't make a program without it.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > but can't find any tutorials on it
    Did you try a search engine?
    http://clusty.com/search?query=xerce...Mozilla-search
    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.

  3. #3
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    depends on what you want to do with your xml? if all you want is simple parsing/output then tinyxml is your friend. However that's a DOM parser that doesn't do ANY validation (either dtd or schema).

    you could also look at libxml2, which is a c parser but very feature-complete (and obviously compatible with C++)

    just as an fyi, the best, most feature complete xml support I've seen is in java.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  2. Cross Platform Socket Programming?
    By CrazyNorman in forum Networking/Device Communication
    Replies: 8
    Last Post: 07-19-2005, 02:38 AM
  3. Cross platform portability, about data types...
    By gaah in forum C++ Programming
    Replies: 9
    Last Post: 01-21-2005, 10:32 PM
  4. Cross Platform Compatible 64Bit And 8Bit Integer
    By Geolingo in forum C++ Programming
    Replies: 5
    Last Post: 01-14-2005, 04:35 AM
  5. cross platform game programming
    By xddxogm3 in forum Game Programming
    Replies: 13
    Last Post: 08-22-2004, 09:40 AM