Results 1 to 5 of 5

Thread: XML Operations?

  1. #1

    Thread Starter
    New Member Rayn's Avatar
    Join Date
    Jan 2003
    Location
    The Old West..
    Posts
    7

    XML Operations?

    How would I got about calling information from a XML file or text file into a program? I want to use XML as a data storage unit for my program but cant figure out how.

    Thanks for your time.
    - Rayn

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Have you tried searching the internet for XML read/write class libraries?

    Personally I don't like XML as data storage method. It's ASCII nature wastes a lot of disk space.

    Unless you want humans to be able to directly read the format...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    New Member Rayn's Avatar
    Join Date
    Jan 2003
    Location
    The Old West..
    Posts
    7
    What would be the best way for storage besides XML and text files?
    Welcome.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Binary.
    Of course it depends on your data.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5
    Fanatic Member riis's Avatar
    Join Date
    Nov 2001
    Posts
    551
    If you need an XML parser, have a look at Xerces . It's Apache's open source XML parser. It also has a DOM interface.
    I prefer it over Microsoft's XML parser, since it's proprietary, and also over libxml, since it seems to be aimed at Linux too much and I couldn't find a working DOM wrapper for C++.

    Good luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width