SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XML Questions and Concerns..

    Okay, Im new to the XML field, but it certainly seems interesting. I have a couple questions, however.

    First: For a specific project we are using an XML feed into a web page to show the current temperature. However, right now I am doing this through the <xml> tag which, obviously is only in IE5+. The rest of the page is written in .net (C#.net to be exact); so if there would be any way to extract from the XML file and input it so all users would be able to view, please let me know!!!

    Second: What exactly are the benefits of XML? I just cant seem to figure it out. As a data storage utility, it would seem that a database (SQL) would have much better performance and provide comparable functions. I could potentially see it being very useful cross-platform, but there must be more uses than that!?

    Thanks!
    Ian
    Steal The Internet - My blog about how I plan to steal the internet!

  2. #2
    Database Jedi MattR's Avatar
    Join Date
    Jan 2001
    Location
    buried in the database shell (Washington, DC)
    Posts
    1,107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A RDBMS is a better storage mechanism than XML.

    Take a look here:
    http://www.sitepointforums.com/showt...&highlight=xml

  3. #3
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alas but XML is far far better for distribution of data between any two points - plus another benifit is that you using one XML document and several XSL Stylesheets, you can transform one document to many;

    XML -> HTML
    XML -> WML
    XML -> PDF etc etc

  4. #4
    Database Jedi MattR's Avatar
    Join Date
    Jan 2001
    Location
    buried in the database shell (Washington, DC)
    Posts
    1,107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The question was not about distribution, but of storage.

    There is no question a RDBMS is better.

  5. #5
    Sidewalking anode's Avatar
    Join Date
    Mar 2001
    Location
    Philadelphia, US
    Posts
    2,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You answered your second question with your first, XML is good for interchange.
    TuitionFree a free library for the self-taught
    Anode Says... Blogging For Your Pleasure

  6. #6
    Non-Member
    Join Date
    Jan 2003
    Posts
    866
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MattR
    The question was not about distribution, but of storage.

    There is no question a RDBMS is better.
    One question was "what are the benefits of XML". I was wondering the same thing.


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
  •