XML vs database - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

XML vs database

nishutanknishutank Posts: 1Member
edited October 2013 in XML Development
what is the difference between xml and database?what are the advantages of xml over database?
Tagged:

Comments

  • danieltooopdanieltooop Posts: 1Member
    In XML data storage, the data is stored in a file which represents an XML Schema of the data. To read the data, you have to pull and open the entire file in memory and use technics like xpath to get the data element you want.
    In SQL data storage, the data is stored in a database ( usually relational database). To read the data, you simple sent an SQL query to the database. The database management engine analysis the query and get the required data elements you ask for in your query which is finally sent to you as a reply.

    ------------------------
    http://www.prodigyapex.com
  • loosi007loosi007 Posts: 2Member
    Nice information about XML vs database, thanks for sharing.....

    [link=http://www.couponcodesfordiscount.com/]Coupon Codes[/link]
    [link=http://www.anyshoppingdeals.com/]Coupon Codes[/link]
  • loosi007loosi007 Posts: 2Member
    Nice information about XML vs database, thanks for sharing.....

    [link=http://www.couponcodesfordiscount.com/]Coupon Codes[/link]
    [link=http://www.anyshoppingdeals.com/]Coupon Codes[/link]
  • SandraElamSandraElam Posts: 5Member
    hi..
    XML is the abbreviation for Extensible Markup Language.
    A database is a powerful data storage and retrieval technology where data is stored as rows in tables and the database has one or more tables.
    I think XML was never intended to provide a storage mechanism in the sense that a relational database was. XML was really designed to be a platform-neutral way of sharing of structured data across different information systems, particularly via the internet. So comparing "XML" as if it were some sort of persistence mechanism like a database puts you off the mark.So how we can campare it
    http://www.bestwebsitesdesigner.com/
Sign In or Register to comment.