0% found this document useful (0 votes)
18 views9 pages

XML Overview: by Higgins Hartson Doviko & Mtoyoyo Isaac Monawe

XML is a markup language used for data exchange between applications and systems. XML focuses on structuring data in a way that is both human-readable and machine-readable. XML documents are made up of tags, elements and attributes where the tags define the structure and elements contain the actual data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views9 pages

XML Overview: by Higgins Hartson Doviko & Mtoyoyo Isaac Monawe

XML is a markup language used for data exchange between applications and systems. XML focuses on structuring data in a way that is both human-readable and machine-readable. XML documents are made up of tags, elements and attributes where the tags define the structure and elements contain the actual data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

XML OVERVIEW

BY HIGGINS HARTSON DOVIKO & MTOYOYO ISAAC MONAWE


INTRODUCTION

• XML was first published in the 1998.


• It plays a significant role in exchanging a wide range of data on the web.
• XML is a software and hardware independent for storing and transporting data.
• XML was derived from Standard Generalized Markup Language (SGML).
• XML documents are made up of tags, elements and attributes where the tags define the structure of
the XML document, elements contain the actual data and the attributes provide additional
information about the elements.
• XML is designed to be human-readable and machine-readable, meaning it can be easily read by both
machines and humans.
DEFINITION

• Extensible Markup Language (XML) is a markup language used for data exchange
between applications and systems.
• Unlike HTML, which defines how data is displayed, XML focuses on structuring data
in a way that is both human-readable and machine-readable.
• Think of it as a flexible container that can hold any type of information.
STRUCTURE/SYNTAX

• Element – XML has elements which has opening, content and closing tag, example
<title> Monawe </title>.
• Attributes – XML elements has attributes for additional details for content, example
<book title=“Famous Nkhaniyawo” author=“H.H.D Ntchafuzinkomola”/>
• Hierarchy – XML elements can be nested within each other creating hierarchical
structure.
STRUCTURE/SYNTAX CONTI..
Example
<order>
<customer_id>123</customer_id>
<items>
<item>
<product_name>Book</product_name>
</item>
</items>
<total_amount>20.00</total_amount>
</order>
ADVANTAGES

• Standardized: Defined by W3C, ensuring consistent interpretation across platforms.


• Easy to read and process: Programming languages can easily read and process XML
data.
• Validatable: XML can be validated against a schema (set of rules) to ensure data
integrity.
DISADVANTAGES

• Less reliable than other text-data-transmissions like JSON and YAML (which are more
faster).
• Does not support array.
• High storage and transportation cost when data volume is large.
XML APPLICATION IN WEB TECH

• Data Exchange: Web services often use XML to exchange data between applications
(e.g., product catalogs, financial transactions).
• Configuration Files: Many web applications use XML files to store configuration
settings.
CONCLUSION

• XML is a powerful tool for structuring and sharing data in web technologies.
• Its flexibility, platform independence, and ease of use make it a popular choice for data
exchange across diverse systems.

You might also like