Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-14-2002, 10:20 PM   PM User | #1
rynox
New Coder

 
Join Date: Aug 2002
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
rynox is an unknown quantity at this point
Basic Question

I've read a little bit about XML, and I think I understand what it is, but I have yet to see a need for it. What exactly is it for?

rynð
rynox is offline   Reply With Quote
Old 08-16-2002, 03:34 AM   PM User | #2
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
XML itself is a specification for developing languages. Per se, XML itself is not very useful.

However, several XML languages are highly useful indeed. For instance, XHTML is the XML version of HTML. SVG is an XML language for Scalable Vector Graphics (and very nice ones, too). XSLT transforms from one language to another.

Outside of presentation languages such as SVG, the largest application of XML is for creating languages for storing data, and conveying that data between applications (such as a server and a browser, in one very limited sense) in a standardized format.

Does this help?
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote
Old 08-16-2002, 03:57 AM   PM User | #3
rynox
New Coder

 
Join Date: Aug 2002
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
rynox is an unknown quantity at this point
Ah, Alex, I remember you from the days of the wsabstract forums. Glad to finally hear from you again! Thanks for the response.
rynox is offline   Reply With Quote
Old 08-16-2002, 04:17 AM   PM User | #4
jkd
Senior Coder

 
jkd's Avatar
 
Join Date: May 2002
Location: metro DC
Posts: 3,163
Thanks: 1
Thanked 18 Times in 18 Posts
jkd will become famous soon enough
Some popular examples of XML applications outside of W3C:

RSS - perhaps one of the most popular XML apps, it describes news feeds. Odds are you've heard of it before. Even W3C publishes their DOM news in an RSS feed. It utilizes the W3C-standard RDF XML application (meta-data basically) and some of the Dublin Core (additions to describing meta-data).

Chemical Markup Language - some chemists made this up to describe chemical compounds and stuff in XML. Also very popular.


I've used XML in a project I did for describing essentially test results for students taking part in math competitions. I then used XSLT to output HTML in a myriad of ways. Because of the nature of the current XML applications available, storing data as XML immediately has advantages. I could transform a document into XHTML for display in a web browser, but transform the same document for display in WAP-enabled cellphones with WML, and also convert it to PDF via an XSL-FO intermedate step.
__________________
jasonkarldavis.com
jkd is offline   Reply With Quote
Old 08-16-2002, 05:46 PM   PM User | #5
mpjbrennan
Regular Coder

 
Join Date: Jun 2002
Location: Newcastle, England
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
mpjbrennan is an unknown quantity at this point
Star Office 6.0 (and OpenOffice.org 1.0 which is more or less the same thing) use XML for their standard file format. To be precise they use zipped XML archives which you can open with WinZip and examine the raw XML. If you're really clever you can write an application to transform the raw XML into an HTML page, so that the document files can be read by a browser rather than the creating application - something I want to do when I get the time.

Oh - and the XML files are much smaller than, say Word docs. Not terribly important if you have broadband but if you've ever had some kind soul send you a 2.5Mb Word document on a dial-up connection you'll understand what I mean.

patrick

PS: Open Office is pretty good as an Office suite anyway - and it's free - as in "free beer"
mpjbrennan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:22 AM.


Advertisement
Log in to turn off these ads.