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 (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 mstHenning Jacobsen
 
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 2013Samantha Noble
 
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 ChildrenPhRMA
 
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 slideshareYuval Yeret
 
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 PictureTariq Ahmad
 
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 magazineThe Rockefeller Foundation
 
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!David Black
 
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
 
DIYDays - Working with a Creative Technologist
DIYDays - Working with a Creative TechnologistDIYDays - Working with a Creative Technologist
DIYDays - Working with a Creative Technologistheidihysell
 
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 YorkJohn Citibois
 
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 (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

VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLimonikaupta
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
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 GraphsEleniIlkou
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls DubaiEscorts Call Girls
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
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
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 

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.