Can someone PLEASE explain XML (eXtensible Markup Language) to me???

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
All I basically want to know is what is its true purpose? What problems does it fix? Why's it here to stay?

The only things I can find online all sound like a bunch of propaganda... not actual useful information / explanation of what it is...


From what I've read so far, it seems like XML is a standard which tries to establish a standard way to store data. So almost like a database, but a database which uses one standard format to store the data no matter what application is reading / writing it. So almost like if PostgreSQL could read MySQL and msSQL database formats and vice-versa... yes?


What is so amazing about XML to make me want to learn it, and integrate it into web applications? Hell... HOW would you intergrate it into a web application...? Whynot just use a database instead?

Educate me please!
 

sep

Platinum Member
Aug 1, 2001
2,553
0
76
I don't now exactly, but I'm attempting to learn it for the sake of the skill set. Here is a link that might help you (you might already know about this site).

W3SCHOOLS

Also, if you find an answer to this question let me know!
-JC
 

Moonbender

Golden Member
Oct 19, 2000
1,046
0
0
Just to give an example where XML is useful, many sites offer an XML file containing information about them, such as news headlines or more site-specific stuff. Blue's News, for instance, has an RDF describing the current news. This gives other sites or services an easy way to display or otherwise process Blue's News without accessing BN's backend server.
XML can be similar to relational databases such as MySQL, but it's both more dynamic - you don't necessarily have the same structure over and over, you'd have a hard time putting an XHTML document tree into a relational DB. Of course, databases are better at other things, they're way more efficient than programs processing XML are, for instance. It's apples and oranges really, both fruits, but not the same.
XML can also be an intermediary step, between the database abstraction layer and the final document output. This is a way to not only seperate content from layout, but content source (eg. a DB), content, and layout. One script could pull the data from a database and create an XML file, another script or program on perhabs a completely different computer could pull the XML file and create an (X)HTML representation, or a PDF file or whatever.

Whether it's terribly useful in the real world, and especially if it's well suited for what it's supposed to do is a topic for religious wars.
 

Superwormy

Golden Member
Feb 7, 2001
1,637
0
0
Interesting... anyone else have any thoughts on this?

I'd especially like to see some real-world examples... it seems like the most useful aspects of it are sharing data between websites, or maybe between a ring / set of websites. That I can see would be immensly helpful in many cases.

After reading som emore, it seems like XML is only a little bit useful in the real world.


Also, anybody have any thoughts on XHTML? XHTML really seems like it should have been implemented a LOOONNNG time ago, seems like it really tries to establish an HTML standard that works and would display consistently across platforms / browsers.
 

geoff2k

Golden Member
Sep 2, 2000
1,929
0
76
There was an interesting XML-related quote I read in eWeek recently:

The text-based protocols used by Web services typically require 10 times the bytes of a binary protocol to send the same information and have to be transformed at both ends into binary form, a relatively slow and CPU-intensive process.

That's the part that always gets me. Yes, its great for interop, but does nobody care about performance?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |