SlideShare a Scribd company logo
BIKASH CHHETRI
1
TOPIC
“INTRODUCTION TO XML”
Contents

 XML Basics




2
Question related to XML
3
 XML stands for Extensible Markup Language.
 It is a text-based markup language derived
from Standard Generalized Markup Language
(SGML).
 XML was designed to store and
transport data.
 XML was designed to be both human-
and machine-readable.
4
 XML document are text files with a .xml
extension.
 They can be created in text editor.
 These document reference a Document
Type Definition (DTH) or schema, which
defines the structure for the document .
5
 XML is a markup language that defines set of rules for encoding documents
in a format that is both human-readable and machine-readable.
 So, what exactly is a markup language?
 Markup is information added to a document that enhances its meaning in
certain ways, in that it identifies the parts and how they relate to each other.
More specifically, a markup language is a set of symbols that can be placed in
the text of a document and label the parts of that document
Introduction
6
o XML can work behind the scene to simplify the creation of HTML documents for large web sites
o XML can be used to exchange the information between organizations and systems
o XML can easily be merged with style sheets to create almost any desired output.
o Virtually, any type of data can be expressed as an XML document
Introduction
7
 A programming language consists of grammar rules and its own vocabulary
which is used to create computer programs.
 These programs instruct the computer to perform specific tasks.
 XML does not qualify to be a programming language as it does not perform
any computation or algorithms.
 It is usually stored in a simple text file and is processed by special software
that is capable of interpreting XML.
Introduction
8
Example
9
This snippet includes the markup symbols, or the tags such as <message>...</message> and
<text>... </text>. The tags <message> and </message> mark the start and the end of the XML
code fragment. The tags <text> and </text> surround the text Hello, world!.
XML Syntax
!
XML Declaration
Where version is the XML version and encoding
specifies the character encoding used in the
document.
12
XML Declaration
Syntax Rules for XML Declaration
1 2 3 4 5
Reference : The basics you can find anywhere 5 Steps To Successful Storytelling Published on April 5, 2014 Featured in: Marketing & Advertising
<?xml
version="version_number"
encoding="encoding_declaration"
standalone="standalone_status"
?>
XML – Declaration
“
14
Example of XML
“
15
Two types of Grammar in XML
 Structure Define by DTD for eg..
<note></note>
 Content Define by Schema
For eg.. Data of XMl
16 1
 The XML Document Type Declaration, commonly known as DTD, is a way to describe XML
language precisely.
 DTDs check vocabulary and validity of the structure of XML documents against
grammatical rules of appropriate XML language
 An XML DTD can be either specified inside the document, or it can be kept in a separate
document and then liked separately.
• DTD(Document type DECLERATION
1
 XML Schema is commonly known as XML Schema Definition (XSD).
 It is used to describe and validate the structure and the content of XML
data.
 XML schema defines the elements, attributes, and data types.
 Schema element supports Namespaces.
 It is similar to a database schema that describes the data in a database.
• Schema
1
Example of Schema
19 19
XML Buildingblocks
20 20
Tags
Name>Robin</NAME>
21 21
Elements
22 22
Content
 Content refers to the information represented by the elements
of an XML document.
 Character or data content
 Element content
 Combination or mixed content
 Example
<BOOKNAME>The Painted House</BOOKNAME>
23 23
Attribute
 Located in the start tag of elements
 Provide additional information about elements
 Often provide information that is not a part of data
 Must be enclosed in quotes
 Should I use an element or an attribute?
 metadata (data about data) should be stored as attributes, and that data itself
should be stored as elements
24 24
Comments
 Comments are statements used to explain the XML code.
 Example
<!--PRODUCTDATA is the root element-->
 The text contained within a comment entry cannot have
two consecutive hyphens
<!--PRODUCTDATA is the –-root element-->
25 25
 Plain Text
 Date identification
 Easily processed
Why Is XML Important?
26 26

 Inherently style-free
 XSL---Extensible Stylesheet Language
 Different XSL formats can then be used to display the same data in different
ways

 Can be composed from separate entities
 Modularize your documents
Why Is XML Important?
27 27
XML describe what data is
HTML display how data looks
Difference between XML and HTML
28
Displaying XML
 Comments are statements used to explain
the XML code.
 Example
<!--PRODUCTDATA is the root
element-->
 The text contained within a comment entry
cannot have two consecutive hyphens
<!--PRODUCTDATA is the –-root
element-->
 Exchange data
 Separate data
 Store Data
 Create new language
XML Application
29
XML can Separate Data from HTML
 Store data in separate XML files
 Using HTML for layout and display
 Using Data Islands
 Data Islands can be bound to HTML elements
Benefits:
 Changes in the underlying data will not require any
changes to your HTML
Separate data
30
XML is used to Exchange Data
 Text format
 Software-independent, hardware-independent
 Exchange data between incompatible systems, given that they agree on
the same tag definition.
 Can be read by many different types of applications
Benefits:
 Reduce the complexity of interpreting data
 Easier to expand and upgrade a system
Exchange data
31
Store Data
32
XML can be used to Store Data
 Plain text file
 Store data in files or databases
 Application can be written to store and retrieve
information from the store
 Other clients and applications can access your XML files
as data sources
Benefits:
 Accessible to more applications
 XML can be used to Create new Languages
 WML (Wireless Markup Language) used to markup Internet
applications for handheld devices like mobile phones (WAP)
 MusicXML used to publishing musical scores
 RSS.
 MathML.
Create new language
33
 XML separates data from HTML
If you need to display dynamic data in your HTML document, it will take a lot of work to edit the HTML each time the data
changes.
With XML, data can be stored in separate XML files.
 XML simplifies data sharing
In the real world, computer systems and databases contain data in incompatible formats.
XML data is stored in plain text format.
 XML simplifies Platform change
One of the most time-consuming challenges for developers is to exchange data between incompatible systems over the
Internet.
Exchanging data as XML greatly reduces this complexity, since the data can be read by different incompatible applications.
XML Advantage
34
35
 XML increases data availability
Upgrading to new systems (hardware or software platforms), is always time consuming. Large
amounts of data must be converted and incompatible data is often lost.
XML data is stored in text format. This makes it easier to expand or upgrade to new operating
systems, new applications, or new browsers, without losing data.
 XML can be used to create new internet languages
XHTML
RSS languages for news feeds
36
Conclusion
Neal Creative | click & Learn moreNeal Creative ©
THANK YOU

More Related Content

What's hot

Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
AakankshaR
 
Xml presentation
Xml presentationXml presentation
Xml presentation
Miguel Angel Teheran Garcia
 
XML
XMLXML
Xml
XmlXml
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
Gtu Booker
 
XSLT
XSLTXSLT
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
Manish Chaurasia
 
XML Schema
XML SchemaXML Schema
XML Schema
yht4ever
 
1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
Dr.Saranya K.G
 
Dtd
DtdDtd
presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
FaysalAhammed5
 
HTML
HTMLHTML

What's hot (20)

Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
Xml
XmlXml
Xml
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
XSLT
XSLTXSLT
XSLT
 
Html
HtmlHtml
Html
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
XML Schema
XML SchemaXML Schema
XML Schema
 
1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
 
Xml
XmlXml
Xml
 
Dtd
DtdDtd
Dtd
 
Html presentation
Html presentationHtml presentation
Html presentation
 
presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
 
Xpath presentation
Xpath presentationXpath presentation
Xpath presentation
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Xml
Xml Xml
Xml
 
HTML
HTMLHTML
HTML
 
Tags in html
Tags in htmlTags in html
Tags in html
 

Similar to XML Introduction

Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xmlsoumya
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
www.myassignmenthelp.net
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
Dennis Pipper
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
Jaya Kumari
 
Oracle soa xml faq
Oracle soa xml faqOracle soa xml faq
Oracle soa xml faq
xavier john
 
Xml
XmlXml
Xml viva questions
Xml viva questionsXml viva questions
Xml viva questions
Vipul Naik
 
XML1.pptx
XML1.pptxXML1.pptx
XML
XMLXML
Full xml
Full xmlFull xml
XML-Unit 1.ppt
XML-Unit 1.pptXML-Unit 1.ppt
XML-Unit 1.ppt
ssuseree7dcd
 
IT6801-Service Oriented Architecture
IT6801-Service Oriented ArchitectureIT6801-Service Oriented Architecture
IT6801-Service Oriented Architecture
Madhu Amarnath
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Language
wahidullah mudaser
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
ssuser21721b
 
XML
XMLXML
XML
eewiley
 
Basic concepts of xml
Basic concepts of xmlBasic concepts of xml
Basic concepts of xml
HelpWithAssignment.com
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xmlRaghu nath
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
University of Connecticut Libraries
 

Similar to XML Introduction (20)

Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
01 Xml Begin
01 Xml Begin01 Xml Begin
01 Xml Begin
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Oracle soa xml faq
Oracle soa xml faqOracle soa xml faq
Oracle soa xml faq
 
Xml
XmlXml
Xml
 
Xml viva questions
Xml viva questionsXml viva questions
Xml viva questions
 
XML
XMLXML
XML
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
XML
XMLXML
XML
 
Full xml
Full xmlFull xml
Full xml
 
XML-Unit 1.ppt
XML-Unit 1.pptXML-Unit 1.ppt
XML-Unit 1.ppt
 
IT6801-Service Oriented Architecture
IT6801-Service Oriented ArchitectureIT6801-Service Oriented Architecture
IT6801-Service Oriented Architecture
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Language
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
XML
XMLXML
XML
 
Basic concepts of xml
Basic concepts of xmlBasic concepts of xml
Basic concepts of xml
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 

Recently uploaded

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 

Recently uploaded (20)

Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 

XML Introduction

  • 4.  XML stands for Extensible Markup Language.  It is a text-based markup language derived from Standard Generalized Markup Language (SGML).  XML was designed to store and transport data.  XML was designed to be both human- and machine-readable. 4
  • 5.  XML document are text files with a .xml extension.  They can be created in text editor.  These document reference a Document Type Definition (DTH) or schema, which defines the structure for the document . 5
  • 6.  XML is a markup language that defines set of rules for encoding documents in a format that is both human-readable and machine-readable.  So, what exactly is a markup language?  Markup is information added to a document that enhances its meaning in certain ways, in that it identifies the parts and how they relate to each other. More specifically, a markup language is a set of symbols that can be placed in the text of a document and label the parts of that document Introduction 6
  • 7. o XML can work behind the scene to simplify the creation of HTML documents for large web sites o XML can be used to exchange the information between organizations and systems o XML can easily be merged with style sheets to create almost any desired output. o Virtually, any type of data can be expressed as an XML document Introduction 7
  • 8.  A programming language consists of grammar rules and its own vocabulary which is used to create computer programs.  These programs instruct the computer to perform specific tasks.  XML does not qualify to be a programming language as it does not perform any computation or algorithms.  It is usually stored in a simple text file and is processed by special software that is capable of interpreting XML. Introduction 8
  • 9. Example 9 This snippet includes the markup symbols, or the tags such as <message>...</message> and <text>... </text>. The tags <message> and </message> mark the start and the end of the XML code fragment. The tags <text> and </text> surround the text Hello, world!.
  • 11. XML Declaration Where version is the XML version and encoding specifies the character encoding used in the document.
  • 12. 12 XML Declaration Syntax Rules for XML Declaration 1 2 3 4 5 Reference : The basics you can find anywhere 5 Steps To Successful Storytelling Published on April 5, 2014 Featured in: Marketing & Advertising
  • 15. “ 15 Two types of Grammar in XML  Structure Define by DTD for eg.. <note></note>  Content Define by Schema For eg.. Data of XMl
  • 16. 16 1  The XML Document Type Declaration, commonly known as DTD, is a way to describe XML language precisely.  DTDs check vocabulary and validity of the structure of XML documents against grammatical rules of appropriate XML language  An XML DTD can be either specified inside the document, or it can be kept in a separate document and then liked separately. • DTD(Document type DECLERATION
  • 17. 1  XML Schema is commonly known as XML Schema Definition (XSD).  It is used to describe and validate the structure and the content of XML data.  XML schema defines the elements, attributes, and data types.  Schema element supports Namespaces.  It is similar to a database schema that describes the data in a database. • Schema
  • 22. 22 22 Content  Content refers to the information represented by the elements of an XML document.  Character or data content  Element content  Combination or mixed content  Example <BOOKNAME>The Painted House</BOOKNAME>
  • 23. 23 23 Attribute  Located in the start tag of elements  Provide additional information about elements  Often provide information that is not a part of data  Must be enclosed in quotes  Should I use an element or an attribute?  metadata (data about data) should be stored as attributes, and that data itself should be stored as elements
  • 24. 24 24 Comments  Comments are statements used to explain the XML code.  Example <!--PRODUCTDATA is the root element-->  The text contained within a comment entry cannot have two consecutive hyphens <!--PRODUCTDATA is the –-root element-->
  • 25. 25 25  Plain Text  Date identification  Easily processed Why Is XML Important?
  • 26. 26 26   Inherently style-free  XSL---Extensible Stylesheet Language  Different XSL formats can then be used to display the same data in different ways   Can be composed from separate entities  Modularize your documents Why Is XML Important?
  • 27. 27 27 XML describe what data is HTML display how data looks Difference between XML and HTML
  • 28. 28 Displaying XML  Comments are statements used to explain the XML code.  Example <!--PRODUCTDATA is the root element-->  The text contained within a comment entry cannot have two consecutive hyphens <!--PRODUCTDATA is the –-root element-->
  • 29.  Exchange data  Separate data  Store Data  Create new language XML Application 29
  • 30. XML can Separate Data from HTML  Store data in separate XML files  Using HTML for layout and display  Using Data Islands  Data Islands can be bound to HTML elements Benefits:  Changes in the underlying data will not require any changes to your HTML Separate data 30
  • 31. XML is used to Exchange Data  Text format  Software-independent, hardware-independent  Exchange data between incompatible systems, given that they agree on the same tag definition.  Can be read by many different types of applications Benefits:  Reduce the complexity of interpreting data  Easier to expand and upgrade a system Exchange data 31
  • 32. Store Data 32 XML can be used to Store Data  Plain text file  Store data in files or databases  Application can be written to store and retrieve information from the store  Other clients and applications can access your XML files as data sources Benefits:  Accessible to more applications
  • 33.  XML can be used to Create new Languages  WML (Wireless Markup Language) used to markup Internet applications for handheld devices like mobile phones (WAP)  MusicXML used to publishing musical scores  RSS.  MathML. Create new language 33
  • 34.  XML separates data from HTML If you need to display dynamic data in your HTML document, it will take a lot of work to edit the HTML each time the data changes. With XML, data can be stored in separate XML files.  XML simplifies data sharing In the real world, computer systems and databases contain data in incompatible formats. XML data is stored in plain text format.  XML simplifies Platform change One of the most time-consuming challenges for developers is to exchange data between incompatible systems over the Internet. Exchanging data as XML greatly reduces this complexity, since the data can be read by different incompatible applications. XML Advantage 34
  • 35. 35  XML increases data availability Upgrading to new systems (hardware or software platforms), is always time consuming. Large amounts of data must be converted and incompatible data is often lost. XML data is stored in text format. This makes it easier to expand or upgrade to new operating systems, new applications, or new browsers, without losing data.  XML can be used to create new internet languages XHTML RSS languages for news feeds
  • 37. Neal Creative | click & Learn moreNeal Creative © THANK YOU

Editor's Notes

  1. To use this title animation slide with a new image simply 1) move the top semi-transparent shape to the side, 2) delete placeholder image, 3) click on the picture icon to add a new picture, 4) Move semi-transparent shape back to original position, 5) Update text on slide.
  2. To use this title animation slide with a new image simply 1) move the top semi-transparent shape to the side, 2) delete placeholder image, 3) click on the picture icon to add a new picture, 4) Move semi-transparent shape back to original position, 5) Update text on slide.
  3. Tip: When using complex image as full-bleed background add a transparency (70%-90%) fill layer to give contrast to text.