Download What is XML.mp4
XML stands for eXtensible Markup Language. It is a markup language that is used to store and transport data in a structured, readable format.
🔹 Key Features of XML:
Self-descriptive structure
XML uses tags (like HTML) to define data, and these tags describe the data.
Custom tags
Unlike HTML, which has predefined tags (<p>, <div>, etc.), XML allows you to define your own tags.
Platform-independent and language-neutral
XML can be used across different systems and programming languages.
Hierarchical data structure
XML represents data in a tree structure (parent-child relationships), which makes it easy to model complex data.
🔹 Example of XML:
<book>
<title>XML Basics</title>
<author>John Smith</author>
<year>2023</year>
</book>
In this example:
<book> is the root element.
Inside it are child elements like <title>, <author>, and <year>.
This structure clearly describes the data.
🔹 Common Uses of XML:
Web services (e.g., SOAP)
Configuration files (e.g., Android manifest.xml, .NET config files)
Data exchange between systems
Document storage (e.g., Microsoft Office files use XML internally)
🔹 XML vs HTML (Quick Comparison):
Feature XML HTML
Purpose Store and transport data Display data (web pages)
Tags Custom (user-defined) Predefined
Strictness Strict (well-formed) Lenient
Structure Hierarchical Document-based
No comments:
Post a Comment