What is XML and why we use it?

Kavalier

Chief Minister (5k+ posts)
Salam everybody,

I have to work with XML in coming weeks and I have no understanding at all what is it and why should I use it? How it makes my life easier?
I have seen some basic tutorials in internet but there is no clear information about it.

An added question will be the difference between XML and JSON and which one to use. Their limitations and their positives etc.

I am looking forward to hearing some informational stuff from you guys who are IT savvy.

thanks.
 
Last edited by a moderator:

Shahid Abassi

Chief Minister (5k+ posts)
Maturity is a relative term. It depends upon the mental size and kind of the person who makes the judgement or define the criteria. Humor was always a work of mature people, son.

I am sorry to say sir that your comment does nt reflect the maturity which is expected from your mentioned age......
 

Kavalier

Chief Minister (5k+ posts)
Sir are you sure it was a piece of humor? I do hope you got daughters, if not at least sisters who can read/enjoy this wonderful work of humor and appreciate you for it.

The kind of maturity I am talking about is not relative, rather absolute. You cannot expect a 55 year old to be commenting like a an 18 years old. No sane person, with even a small mental capacity, will term your comment as a mature comment from a 55 years old....

Maturity is a relative term. It depends upon the mental size and kind of the person who makes the judgement or define the criteria. Humor was always a work of mature people, son.
 

Shahid Abassi

Chief Minister (5k+ posts)
I don't think word "sexier" is such a vulgar word in societies where you and I live that you are reaching out to daughters and sisters. We better shut it here.
And I don't understand why you taking it personal. Accept my apologies If MNS was related to you in any way.

Sir are you sure it was a piece of humor? I do hope you got daughters, if not at least sisters who can read/enjoy this wonderful work of humor and appreciate you for it.

The kind of maturity I am talking about is not relative, rather absolute. You cannot expect a 55 year old to be commenting like a an 18 years old. No sane person, with even a small mental capacity, will term your comment as a mature comment from a 55 years old....
 

Kavalier

Chief Minister (5k+ posts)
I have nothing against the word sexier, it is more about your second sentence.

I am sorry if my sentence has hurt you, I never meant to disgrace anyone or anyone's relative. But I would say in the same sentence that everyone else is also as respectable as our own relatives. I am not at all related to MNS and I also do not like their style of politics but our political differences should never allow us use inappropriate language against anyone, let alone against a female.

Thank you for understanding and apologies from my side as well, may be I was also careless in selection of words ...


I don't think word "sexier" is such a vulgar word in societies where you and I live that you are reaching out to daughters and sisters. We better shut it here.
And I don't understand why you taking it personal. Accept my apologies If MNS was related to you in any way.
 
XML is a software- and hardware-independent tool for storing and transporting data.

[h=2]Why Study XML?[/h]XML plays an important role in many IT systems.
For this reason, it is important for all software developers to have a good understanding of XML.
Before you continue, you should also have a basic understanding of:

  • HTML
  • JavaScript
 
Maybe it is a little hard to understand, but XML does not DO anything
[h=2]The Difference Between XML and HTML[/h]XML and HTML were designed with different goals:

  • XML was designed to carry data - with focus on what data is
  • HTML was designed to display data - with focus on how data looks
  • XML tags are not predefined like HTML tags are
Most XML applications will work as expected even if new data is added (or removed).
Imagine an application designed to display the original version of note.xml (<to> <from> <heading> <data>).
Then imagine a newer version of note.xml with added <date> and <hour> elements, and a removed <heading>.
The way XML is constructed, older version of the application can still work:

[h=2]XML Simplifies Things[/h]
  • It simplifies data sharing
  • It simplifies data transport
  • It simplifies platform changes
  • It simplifies data availability
Many computer systems contain data in incompatible formats. Exchanging data between incompatible systems (or upgraded systems) is a time-consuming task for web developers. Large amounts of data must be converted, and incompatible data is often lost.
XML stores data in plain text format. This provides a software- and hardware-independent way of storing, transporting, and sharing data.
XML also makes it easier to expand or upgrade to new operating systems, new applications, or new browsers, without losing data.
With XML, data can be available to all kinds of "reading machines" like people, computers, voice machines, news feeds, etc.

 

Back
Top