Results 1 to 3 of 3

Thread: Xml ??

  1. #1
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Xml ??

    eXtensionable Markup Language

    What do you do with it? I know it stores data. But, how do you use that data? How do you view that data? Why would you need that data? What is the difference in saving that data as XML, rather than variables in javascript or html or php or any other scripting language?

    Any examples woould be appreciated.

    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    XML is a structured data-storage format, which makes it easier and faster for programs to retrieve the data. XML is persistant storage - that is, it doesn't go away when the program exits, as a variable does. The way the data is used/viewed depends entirely on the program that parses it. Think of it as HTML - but YOU write the browser: YOU, not a doctype, define what each tag means, how it's displayed (if it's displayed), what to do with the data inside it.

    A more thorough explanation is available on http://www.xml.com/.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok, so lets say in xml:
    Code:
    <letter>
    <to>Bob</to>
    <from>Sally</from>
    <body>blah blah blah</body>
    <date>Monday, the 1st of August</date>
    </letter>
    how could I use this in an html document?
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •