SunQuest
           XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 8th, 2003, 09:44 AM
XcaliburGirl XcaliburGirl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 XcaliburGirl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Trouble understanding XML

I'm a Visual Basic programmer. I've read through a few beginner tutorials on XML.

My main question is: is XML just a data holder for programs to use? Or can it do anything on it's own?

I keep feeling that I'm missing some concept. Perhaps I'm just thinking that there's more to XML than there is.

Here's what I understand, tell me if I'm wrong:

Example:
I could write a VB program that would output data to an XML file. Then I could get that data using...Flash ActionScript (let's say because that's the only other language I'm proficient at, and I know it can use XML); where normally it'd be impossible (or at least hard) for them to send data back and forth.

Is this correct? And is there anything else XML is used for, in and of itself?

Reply With Quote
  #2  
Old July 8th, 2003, 11:43 AM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,288 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 10 m 39 sec
Reputation Power: 744
I'm new to XML too, but it's my understanding that XML is used to store and describe data. And as you pointed out, one of the advantages is that the data is easily used by multiple languages accross multiple platforms.

It's also my understanding that you can use XML by itself, similarly to HTML, but only after an extra step. Since XML only describes data, you have to format the data. You can use Cascading StyleSheets, custom DocType Definitions, XSL (which seems to be a language itself), or XSD (XML Schemas). I believe the current recommended approach is XSD.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Trouble understanding XML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway