Results 1 to 2 of 2

Thread: how to manage XML?

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    how to manage XML?

    I'm developing a bot and it needs to store/retrieve info. I'd like to use XML but I just dont know how to use it. I know there are tons of classes in the .NET framework but they seem to require a lot of work to be used(or at least knowledge). Anyways are there any wrapper classes that turn it easier to use XML?

    I believe in this case I can't use a DataSet as it is a bit slow isn't it?

    Other thing that bothers me is that I might have several people trying to write at the same time in the XML file. Is it going to raise any error?

    I'm a bit in a worry, could anyone provide answers? Thanks
    \m/\m/

  2. #2
    Lively Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    99
    The main thing about XML is that you can transport it with a stream of text. So you can pass it through proxies easily.

    I use XML with a dataset and then you can convert that dataset to XML. Or make from the XML easily a dataset.
    (You can use this to store settings of the program)

    About locking in XML ... that's true ... I don't know how you can lock a record.
    But how you can do it, is check the existing value right before you overwrite it !

    HTH a bit

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