0

Why we use XML ?

XML

16th Nov 2016, 11:03 AM
Mitesh Wadekar
Mitesh Wadekar - avatar
2 Answers
0
With XML we are able to create our own tags. And from there we are able to parse them in our code. For example we got file "config.xml": <window> <width>800</width> <height>600</height> </window> And in our program we are loading this file and parse those values to set window width and height.
16th Nov 2016, 11:49 AM
Jakub Stasiak
Jakub Stasiak - avatar
0
xml was specially designed to be in human readable form. xml is useful for setting a programs configuration file. when you close your programs, all its settings are saved in the xml file. when you launch the program, the xml files are parsed to the program to retain its last known configuration.
16th Nov 2016, 3:28 PM
Franky BrainBox
Franky BrainBox - avatar