We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Tuesday, February 24, 2015

Why we do write configuration file in XML only? and what is need XML file??

Q. Why we do write configuration file in XML only? we can write in notepad also...& we need XML file??

Ans:-


Because XML is a meta-markup language, it lets you create our own markup language. It is easy for data exchange, customization, self-describing, structured .

  1. XML is easy to parse. There are several popular, lightweight, featureful, and/or free XML parsing libraries available in most languages.
  2. XML is easy to read. It is a very human-readable markup language, so it's easy for humans to write as well as for computers to write.
  3. XML is well specified. Everyone and his dog knows how to write decent XML, so there's no confusion about the syntax.
  4. XML is popular. Somewhere along the way, some Important People™ started pushing the idea that XML was the "future", and a lot of people bought it.

No comments: