|
-
Jul 28th, 2008, 02:36 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] Off the wall XML question
I have sort of a vague question concerning XML as I haven't really started to learn much about it yet.
But a question comes to mind that may be a good starting point in my understanding of it.
I just completed a self-tutorial on the binarywriter and reader and I'm just wondering (out loud), if the main advantage of XML, other than it's standardization, is the fact that it may be more sophisticated in it's encoding/decoding capabilities?
What I mean is --
with binary the writing process is easy enough but there are quite a few steps you need to decipher the data on the reader end of things.
Is XML writer/reader more "user friendly" in that regard?
-
Jul 29th, 2008, 08:22 AM
#2
Thread Starter
Fanatic Member
Re: [2005] Off the wall XML question
Not a very thought out question but here's what's really on my mind, especially after looking at some XML basics --
With the capability of the binary reader/writer and even serialization, I don't know why I'd ever need XML, especially just to save data to the hard drive.
It certainly is more complex, especially on the writer end.
?
At least for the time being, having somewhat a grasp on binary, I may just fughed aboud it.
-
Jul 29th, 2008, 10:27 AM
#3
Member
Re: [2005] Off the wall XML question
Just a personal opinion of course, but I use XML because it is a universal data source. I can use one data file to run practically anything. I have a single XML file that is used by 2 VB.Net Apps, a web site, and a WAP site.
All of that from one file that is editable in any text editor.
In case I forget: I'm using Visual Basic 2008 Express Edition...
Should I, in my odd, bumbling way, actually offer some assistance, feel free to show me some RATE love.
Just Another Laptop Hero
-
Jul 29th, 2008, 11:00 AM
#4
Re: [2005] Off the wall XML question
XML has many advantages over plain text file. These are just a few that pop right out of my head:
1. Many applications support reading/writing xml files out of the box.
2. You can easily read/write xml file to/from a dataset.
3. Xml works with LINQ
4. Xml files can contain format information while text files can't.
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|