what is the difference between XML and database?

Manish Goyal

Manish Goyal

@manish-r2Hoep Oct 26, 2024
Both XML and Database are used to read and write data

but can any one explain me in brief difference between database and XML( keeping security issues aside)?

I mean when to use xml and when to use database?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Leo

    Leo

    @leo-ZJQlmh Aug 26, 2010

    goyal420
    Both XML and Database are used to read and write data

    but can any one explain me in brief difference between database and XML( keeping security issues aside)?

    I mean when to use xml and when to use database?
    Buddy XML is a markup language, now a days widely used over Internet.

    Database is nothing but a hexadecimal dump file which stores data in binary form in other words database is not used to read data but is used to arrange data in various fields and column.

    XML is just a markup language and database is just hex dump, both are two different things XML can be used to read data but database is always used to store data.
    I think that's clear.Happy Computing.
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Aug 26, 2010

    XML can be used to read data but database is always used to store data.
    Database is hexadecimal dump file stores data in binary form .fine

    But i am getting confused with this
    what do you mean by database is always used to store data and xml for reading data?can't we use database for reading data?
  • silverscorpion

    silverscorpion

    @silverscorpion-iJKtdQ Aug 27, 2010

    No. You use some other tool to read data from a database. You can use SQL, for example..

    So, database just stores data.
  • paresh006

    paresh006

    @paresh006-dn8DBN Aug 29, 2010

    Hello goyal
    XML is nothing but Extended markup language....
    XML itself contains database..and script should be written to access database...
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Aug 29, 2010

    Only one line can clear all your all doubts in mind

    Thanks silverscorpion your reply was really helpful and thanks to you too paresh