what is XML?

Discussion in 'OT Technology' started by Leb_CRX, Jan 11, 2004.

  1. Leb_CRX

    Leb_CRX OT's resident terrorist

    Joined:
    Apr 22, 2001
    Messages:
    39,994
    Likes Received:
    0
    Location:
    Ottawa, Canada
    :eek3:

    I've done some reading and what not but either I am missing the point completally or I know it 100%...

    basically from my understanding, it's a way to store data in a file...
    like for example

    Code:
    <cdcollection>
    <cd1>
    <track1>test</track1>
    <track2>test</track2>
    <track3>test</track3>
    <track4>test</track4>
    </cd1>
    <cd2>
    <track1>test</track1>
    <track2>test</track2>
    <track3>test</track3>
    <track4>test</track4>
    </cd2>
    </cdcollection>
    
    I hope that makes sence, basically from my understanding it's a way to protocol stored data...a format one might say, simular to a db, but in text files...

    am I right?

    is there more to XML or is that about it? I see jobs requesting XML and after looking at tutorials, it seems straightforward, but it's making me wonder if I missed something...is it an actual programming language? everything I've read points to no, but job postings put it under languages....probally a secretary who knows nothing, but need someone to confirm that
     
  2. col_panic

    col_panic calm like a bomb Moderator

    Joined:
    Sep 19, 2003
    Messages:
    188,160
    Likes Received:
    0
    Location:
    winter haven, fl
    looks like it's about as much of a "programming language" as HTML is

    http://www.techweb.com/encyclopedia/defineterm?term=xml

     
  3. fatmoocow

    fatmoocow bored OT Supporter

    Joined:
    Aug 27, 2002
    Messages:
    18,329
    Likes Received:
    307
    Location:
    the intarweb
    the real value of xml is that once you package your data into xml tags you can then refer to and format the data based on it's tag. So if you have a

    <book>
    <title>My Book</title>
    <content>ha ha this is a story</content>
    </book>

    and all your data about books uses these same tags you can then easily change the formatting so that title is displayed a different way or the font for the content is changed. Different people can then use the same data in different ways without changing any of the data.

    several websites could use this data in completely different ways and they only have to agree on what to call the data rather than how to format it


    http://www.sitepoint.com/subcat/91 has a ton of info on xml
     
  4. col_panic

    col_panic calm like a bomb Moderator

    Joined:
    Sep 19, 2003
    Messages:
    188,160
    Likes Received:
    0
    Location:
    winter haven, fl
    ^^ cool
     

Share This Page