In general, go with the simplest thing that can work, at least in the beginning. Consider, for example, UNIX, where most configuration files are fields with spaces or fields separated by another character (for example, / etc / passwd, which uses the delimiters ":", since the GCOS field may contain spaces.)
If your data needs a much larger structure, ask yourself: "What tools can I use easily?" For example, Python and Ruby have JSON and YAML.
XML is mostly useful if you already have a lot of XML files, or you want to convert XML to a display form in a browser. Otherwise, it is usually very heavy (code size, complexity) for what you get from it.
source
share