Why is XML Important?
- Make the title bold
- This sentence is a header
- This word is the author
Understanding the Basics
What is XML Used For?
- Simplify the creation of HTML documents for a large website.
- Exchange the information between organisations and systems.
- Unload and reload the databases.
- Store and arrange the data to customise your data handling needs.
- Merge with style sheets to create almost any desired output.
Pros and Cons of XML
Pros:
- It is a platform-independent language, so users can run it on any system regardless of the operating system type.
- Because it employs human vocabulary rather than sophisticated technical jargon, it is simple to read and comprehend.
- Unicode is an international encoding standard for compatibility with various languages and scripts in which each letter, digit, or symbol is allocated a unique numeric value that is applicable across platforms and software.
- XML and Java are pretty compatible.
- It uses DTD and schema validation to verify that the XML document is void of errors.
- Thanks to its cross-platform nature, the XML codes do not need any conversion and can be easily shared between various systems.
Cons:
- The syntax is overly complicated and redundant.
- The syntax consumes too much storage space due to its redundancy.
- Arrays are not supported.
- Despite its use as a backend language, it lacks rendering instructions.
- Since no browser understands it, programmers must first translate it to HTML code.
