-
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
-
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 :)