SlideShare a Scribd company logo
1 of 11
XML
A Simple Introduction
By: Neuza Arraia && Luis Guerreirinho
WHAT IS XML
 XML is a software- and hardware-independent tool for carrying
information.
 XML stands for Extensible Markup Language;
 XML is a markup language much like HTML;
 XML was designed to describe data, not to display data like
HTML;
 XML tags are not predefined. You must “invent” your own tags;
 XML is designed to be self-descriptive.
WHERE IT IS APPLIED?
 XML is used in many aspects of web development, often to
simplify data storage and sharing.
 XML data is stored in text format. This makes it easier to expand or
upgrade to new operating systems, new applications, new
browsers without losing data.
 With XML, your data can be avaliable to all kinds of “Reading
Machines” (Handheld computers, voice machines, news feeds,
etc.)
XML STRUCTURE
 The first line in the XML declaration defines the XML version and
the encoding used;
 The next line describes the root element of the document;
 Next is the child elements of the root (<to>,
<from>,<heading>,<body>)
 The last line defines the end of the root element.
<?xml version = “1,0” encoding = “UTF-8”?>
<note>
<to>Mary</to>
<from>Lois</from>
<heading>Reminder</heading>
<body>Hello how are you?</body>
</note>
XML SYNTAX RULES
 All XML elements must have a closing tag.
 XML tags are case-sensitive.
 XML documents must have a root element.
 XML attributes values must be quoted.
XML SYNTAX RULES
Entity References:
Are used to avoid errors with some charaters like “<“ and “>”
&lt < Less than
&gt > Greater than
&amp & Ampersand
&apos ‘ Apostrophe
&quot “ Quoatation mark
XML SYNTAX RULES
 Comments in XMLm are made this way: (<!-- comment-->).
 White-spaces are preserved in XML.
 XML store new lines as LF.
XML ELEMENTS
 XML element is everything from the element’s start tag to the
element’s end tag.
 Empty elements in XMLn are represented
by:<example></example> or <example />.
 XML naming rules:
 Element names are case-sensitive;
 Element names must start with a letter or undrscore:
 Element names cannot start with the letters xml;
 Element names cannot contain spaces;
XML ATTRIBUTES
 XML elements ca have attributes, that provide additional
information about it.
 XML attributes must be quoted. (e.g. <dog size= “big”>).
 Problems of attributes:
 attributes cannot contain multiple values (elements can)
 attributes cannot contain tree structures (elements can)
 attributes are not easily expandable (for future changes)
XML ENCODING
 Use a XML editor that supports encoding.
 Make sure you know what encoding the editor uses.
 Describe the encoding in the encoding attribute.
 UTF-8 is the safest encoding to use.
 UTF-8 is the web standard.
CONCLUSION
The XML can be a great ally in developing applications for the
Internet. We have seen that it does not replace HTML, but fills a
great need of this language, providing a really efficient way to
transmit all kind of data through the World Wide Web. I hope this
slides helped, in a definitive way, to understand what is XML
language.

More Related Content

What's hot

XML Presentation-2
XML Presentation-2XML Presentation-2
XML Presentation-2
Sudharsan S
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
soumya
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
Sudharsan S
 
Xml Presentation-1
Xml Presentation-1Xml Presentation-1
Xml Presentation-1
Sudharsan S
 
Xml data transformation
Xml data transformationXml data transformation
Xml data transformation
Raghu nath
 

What's hot (18)

Xml intro1
Xml intro1Xml intro1
Xml intro1
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
Web Development Course - XML by RSOLUTIONS
Web Development Course - XML by RSOLUTIONSWeb Development Course - XML by RSOLUTIONS
Web Development Course - XML by RSOLUTIONS
 
XML | Computer Science
XML | Computer ScienceXML | Computer Science
XML | Computer Science
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
XML Presentation-2
XML Presentation-2XML Presentation-2
XML Presentation-2
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Unit 2.2
Unit 2.2Unit 2.2
Unit 2.2
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
paper about xml
paper about xmlpaper about xml
paper about xml
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
Xml Presentation-1
Xml Presentation-1Xml Presentation-1
Xml Presentation-1
 
Xml material
Xml materialXml material
Xml material
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Xml data transformation
Xml data transformationXml data transformation
Xml data transformation
 

Viewers also liked

13 hja 01 motive power mst
13 hja 01 motive power mst13 hja 01 motive power mst
13 hja 01 motive power mst
Henning Jacobsen
 
Scoop intro for customers 121114 cf (1)
Scoop intro for customers 121114 cf (1)Scoop intro for customers 121114 cf (1)
Scoop intro for customers 121114 cf (1)
Charlie Pankey
 
9th chapter 4 quiz.
9th chapter 4 quiz.9th chapter 4 quiz.
9th chapter 4 quiz.
mohan bio
 

Viewers also liked (20)

Hello
HelloHello
Hello
 
Momentos
MomentosMomentos
Momentos
 
13 hja 01 motive power mst
13 hja 01 motive power mst13 hja 01 motive power mst
13 hja 01 motive power mst
 
Remarketing with Google Analytics - SES London 2013
Remarketing with Google Analytics - SES London 2013Remarketing with Google Analytics - SES London 2013
Remarketing with Google Analytics - SES London 2013
 
PhRMA Report 2012: Medicines in Development for Children
PhRMA Report 2012: Medicines in Development for ChildrenPhRMA Report 2012: Medicines in Development for Children
PhRMA Report 2012: Medicines in Development for Children
 
Agile concepts for quality and process engineers for slideshare
Agile concepts for quality and process engineers   for slideshareAgile concepts for quality and process engineers   for slideshare
Agile concepts for quality and process engineers for slideshare
 
BAR GRAPH
BAR GRAPHBAR GRAPH
BAR GRAPH
 
Strangers Near You
Strangers Near YouStrangers Near You
Strangers Near You
 
Xna game development
Xna game developmentXna game development
Xna game development
 
10 Pictures that should never be your #LinkedIn Profile Picture
10 Pictures that should never be your #LinkedIn Profile Picture10 Pictures that should never be your #LinkedIn Profile Picture
10 Pictures that should never be your #LinkedIn Profile Picture
 
Daneia Stratighkh Katagrafh
Daneia Stratighkh KatagrafhDaneia Stratighkh Katagrafh
Daneia Stratighkh Katagrafh
 
Revaluing Ecosystems: A special edition of The Economist magazine
Revaluing Ecosystems: A special edition of The Economist magazineRevaluing Ecosystems: A special edition of The Economist magazine
Revaluing Ecosystems: A special edition of The Economist magazine
 
Don't Believe the Hype, Keywords Aren't Dead!
Don't Believe the Hype, Keywords Aren't Dead!Don't Believe the Hype, Keywords Aren't Dead!
Don't Believe the Hype, Keywords Aren't Dead!
 
Scoop intro for customers 121114 cf (1)
Scoop intro for customers 121114 cf (1)Scoop intro for customers 121114 cf (1)
Scoop intro for customers 121114 cf (1)
 
The Apprentiice Profile
The Apprentiice ProfileThe Apprentiice Profile
The Apprentiice Profile
 
Emprendedor
EmprendedorEmprendedor
Emprendedor
 
DIYDays - Working with a Creative Technologist
DIYDays - Working with a Creative TechnologistDIYDays - Working with a Creative Technologist
DIYDays - Working with a Creative Technologist
 
Comparison of Public Workers Salaries in New York
Comparison of Public Workers Salaries in New YorkComparison of Public Workers Salaries in New York
Comparison of Public Workers Salaries in New York
 
9th chapter 4 quiz.
9th chapter 4 quiz.9th chapter 4 quiz.
9th chapter 4 quiz.
 
Informatica tarea
Informatica tareaInformatica tarea
Informatica tarea
 

Similar to XML simple Introduction

Week1 xml
Week1 xmlWeek1 xml
Week1 xml
hapy
 

Similar to XML simple Introduction (20)

Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
Xml
Xml Xml
Xml
 
xml introduction in web technologies subject
xml introduction in web technologies subjectxml introduction in web technologies subject
xml introduction in web technologies subject
 
XML.pptx
XML.pptxXML.pptx
XML.pptx
 
XML
XMLXML
XML
 
WT UNIT-2 XML.pdf
WT UNIT-2 XML.pdfWT UNIT-2 XML.pdf
WT UNIT-2 XML.pdf
 
eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)eXtensible Markup Language (By Dr.Hatem Mohamed)
eXtensible Markup Language (By Dr.Hatem Mohamed)
 
xml.pptx
xml.pptxxml.pptx
xml.pptx
 
XML - Extensible Markup Language for Network Security.pptx
XML - Extensible Markup Language for Network Security.pptxXML - Extensible Markup Language for Network Security.pptx
XML - Extensible Markup Language for Network Security.pptx
 
Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108
 
Intro xml
Intro xmlIntro xml
Intro xml
 
Week1 xml
Week1 xmlWeek1 xml
Week1 xml
 
Xml description
Xml descriptionXml description
Xml description
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
Xml
XmlXml
Xml
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Xml
XmlXml
Xml
 
Xml
XmlXml
Xml
 
XML
XMLXML
XML
 

Recently uploaded

原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 

Recently uploaded (20)

Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 

XML simple Introduction

  • 1. XML A Simple Introduction By: Neuza Arraia && Luis Guerreirinho
  • 2. WHAT IS XML  XML is a software- and hardware-independent tool for carrying information.  XML stands for Extensible Markup Language;  XML is a markup language much like HTML;  XML was designed to describe data, not to display data like HTML;  XML tags are not predefined. You must “invent” your own tags;  XML is designed to be self-descriptive.
  • 3. WHERE IT IS APPLIED?  XML is used in many aspects of web development, often to simplify data storage and sharing.  XML data is stored in text format. This makes it easier to expand or upgrade to new operating systems, new applications, new browsers without losing data.  With XML, your data can be avaliable to all kinds of “Reading Machines” (Handheld computers, voice machines, news feeds, etc.)
  • 4. XML STRUCTURE  The first line in the XML declaration defines the XML version and the encoding used;  The next line describes the root element of the document;  Next is the child elements of the root (<to>, <from>,<heading>,<body>)  The last line defines the end of the root element. <?xml version = “1,0” encoding = “UTF-8”?> <note> <to>Mary</to> <from>Lois</from> <heading>Reminder</heading> <body>Hello how are you?</body> </note>
  • 5. XML SYNTAX RULES  All XML elements must have a closing tag.  XML tags are case-sensitive.  XML documents must have a root element.  XML attributes values must be quoted.
  • 6. XML SYNTAX RULES Entity References: Are used to avoid errors with some charaters like “<“ and “>” &lt < Less than &gt > Greater than &amp & Ampersand &apos ‘ Apostrophe &quot “ Quoatation mark
  • 7. XML SYNTAX RULES  Comments in XMLm are made this way: (<!-- comment-->).  White-spaces are preserved in XML.  XML store new lines as LF.
  • 8. XML ELEMENTS  XML element is everything from the element’s start tag to the element’s end tag.  Empty elements in XMLn are represented by:<example></example> or <example />.  XML naming rules:  Element names are case-sensitive;  Element names must start with a letter or undrscore:  Element names cannot start with the letters xml;  Element names cannot contain spaces;
  • 9. XML ATTRIBUTES  XML elements ca have attributes, that provide additional information about it.  XML attributes must be quoted. (e.g. <dog size= “big”>).  Problems of attributes:  attributes cannot contain multiple values (elements can)  attributes cannot contain tree structures (elements can)  attributes are not easily expandable (for future changes)
  • 10. XML ENCODING  Use a XML editor that supports encoding.  Make sure you know what encoding the editor uses.  Describe the encoding in the encoding attribute.  UTF-8 is the safest encoding to use.  UTF-8 is the web standard.
  • 11. CONCLUSION The XML can be a great ally in developing applications for the Internet. We have seen that it does not replace HTML, but fills a great need of this language, providing a really efficient way to transmit all kind of data through the World Wide Web. I hope this slides helped, in a definitive way, to understand what is XML language.