0% found this document useful (0 votes)
39 views6 pages

The Client Tier

The document discusses XML, explaining that it is designed to transport and store data using user-defined tags. It provides an example of a simple XML document and compares XML to HTML. It also outlines reasons for using XML and basic syntax rules for XML documents.

Uploaded by

Khagesh Josh
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)
39 views6 pages

The Client Tier

The document discusses XML, explaining that it is designed to transport and store data using user-defined tags. It provides an example of a simple XML document and compares XML to HTML. It also outlines reasons for using XML and basic syntax rules for XML documents.

Uploaded by

Khagesh Josh
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/ 6

The Client Tier

Introduction

 XML is designed to transport and store data.


 XML stands for EXtensible Markup Language and is much like HTML.
 XML was designed to carry data, not to display data
 XML tags are not predefined. You must define your own tags.
 XML is designed to be self-descriptive
 A set of rules for encoding documents in a format that is both human-readable and
machine-readable.
Example

 <note>
 <to>hari bhanjade</to>
 <from>Raju sharma</from>
 <heading>Classtest</heading>
 <body> Class test will be held soon</body>
 </note>
Different from HTML

 XML was designed to transport and store data, with focus on what data is .
 HTML was designed to display data, with focus on how data looks.
 HTML are predefined. HTML documents can only use tags defined in the HTML
standard .
 In contrast, XML allows the author to define his/her own tags and his/her own
document structure.
 The XML processor can not tell us which elements and attributes are valid
WHY XML??

 XML Usages
 XML Separates Data from HTML.
 XML Simplifies Data Sharing: This provides a software- and hardware-
independent way of storing data
 XML Simplifies Data Transport.
 XML Simplifies Platform Changes
 XML Makes Your Data More Available
 XML Used to Create New Internet Languages: like XHTML,WML. SMIL
(Synchronized Multimedia Integration Language)
XML Syntax Rules

 All XML Elements Must Have a Closing Tag.


 XML tags are case sensitive.
 XML Elements Must be Properly Nested.
 XML Documents Must Have a Root Element.
 XML Attribute Values Must be Quoted.
 Entity Reference: &lt; ,&gt;
 Comments in XML.
 White-space is preserved in XML.

You might also like