SlideShare a Scribd company logo
Xml
Sreyachandran .v
Sreya.chandran31@gmail.com
www.facebook.com/sreya
twitter.com/username
in.linkedin.com/in/profilename
XML
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
What is XML?
 XML stands for EXtensible Markup Language.
 XML is a markup language much like HTML.
 XML is Not a Replacement for HTML.
 XML was created to structure, store, and transport
information.
 XML tags are not predefined.
Basic Rules
 An XML element is made up of a start tag, an end tag, and
data in between.
 XML tags are case-sensitive.
<Month>April</Month>
Data
Opening and
closing tags.
<CITY> <City> <city>
XML Naming Rules
 Names can contain letters, numbers, and other characters.
 Names cannot start with a number or punctuation character.
 Names cannot start with the letters xml (or XML, or Xml, etc).
 Names cannot contain spaces.
XML -Declaration
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
1.0 is the current version.
The encoding declaration identifies
which encoding is used to represent the
characters in the document.
Use 'no' if the XML document is
linked to an external entity
references.
XML Documents Form a Tree
Structure
• XML documents must contain a root element. This element is
"the parent" of all other elements.
• All elements can have sub elements (child elements).
<root>
<child>
<subchild>.....</subchild>
</child>
</root>
An Example XML Document
<Employee>
<name>john</name>
<from>mumbi</from>
<age>23</age>
<Job>Designer<job>
</Employee>
Root
element
Child elements
XML Attributes
 XML elements can have attributes, just like HTML.
 Attributes provide additional information about an element.
 Attribute values must always be quoted.
<person gender="female">
<firstname>Anna</firstname>
<lastname>Smith</lastname>
</person>
XML Elements vs. Attributes
<note date="10/01/2008">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder
</heading>
<body>Don't forget me this
weekend!</body>
</note>
<note>
<date>10/01/2008</date>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</headi
ng>
<body>Don't forget me this
weekend!</body>
</note>
XML Web Service
 Web services are application components
 Web-applications are simply applications that run on the web.
 By using Web services, your application can publish its
function or message to the rest of the world.
 Web services use XML to code and to decode data, and SOAP
to transport it (using open protocols).
Advantages of the XML Web services
 It allows programs written in different languages on different
platforms to communicate with each other in a standards-based
way.
 XML is a software- and hardware-independent tool for
carrying information.
THANKYOU
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

More Related Content

PDF
Transfer learning in nlp
PPTX
Week1 xml
DOCX
Php training
PDF
Word2010 community launch-gtr
PPTX
PHP XML

Viewers also liked (15)

PPTX
What is xml
PPT
PPT
XML Training Presentation
ODP
Open Power Template 2 presentation
PPT
XML and Databases
PDF
Intro to JSON
PDF
XML 101 presentation by Bill Kasdorf of Apex
PPT
Xml Presentation-1
PPTX
Functions using stack and heap
PPT
Xml Presentation-3
PPT
XML Databases
PPT
XML for beginners
PPTX
Xml ppt
PPT
Introduction à XML
What is xml
XML Training Presentation
Open Power Template 2 presentation
XML and Databases
Intro to JSON
XML 101 presentation by Bill Kasdorf of Apex
Xml Presentation-1
Functions using stack and heap
Xml Presentation-3
XML Databases
XML for beginners
Xml ppt
Introduction à XML
Ad

Similar to Xml (20)

DOCX
Xml 150323102007-conversion-gate01
PPT
00 introduction
PDF
Xml overview
PPTX
Unit 3 WEB TECHNOLOGIES
PPTX
UNIT-1 Web services
PDF
3.web Technology and sub topics for computer applications
PPTX
web design technology- mark up languages
PDF
Xml tutorial
 
PPTX
HTML AND XML ppt.pptx
PPT
Xml description
DOCX
Xml material
DOCX
Xml material
DOCX
Xml material
ODP
Web based application of Live Scoreboard using XML.
DOCX
What is html xml and xhtml
PPTX
Xml programming language myassignmenthelp.net
PPT
Web Services Part 1
PPT
Web Service Presentation
Xml 150323102007-conversion-gate01
00 introduction
Xml overview
Unit 3 WEB TECHNOLOGIES
UNIT-1 Web services
3.web Technology and sub topics for computer applications
web design technology- mark up languages
Xml tutorial
 
HTML AND XML ppt.pptx
Xml description
Xml material
Xml material
Xml material
Web based application of Live Scoreboard using XML.
What is html xml and xhtml
Xml programming language myassignmenthelp.net
Web Services Part 1
Web Service Presentation
Ad

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
PDF
Acquiring new skills what you should know
PDF
Baabtra.com programming at school
PDF
99LMS for Enterprises - LMS that you will love
PPTX
Chapter 6 database normalisation
PPTX
Chapter 5 transactions and dcl statements
PPTX
Chapter 4 functions, views, indexing
PPTX
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
PPTX
Chapter 1 introduction to sql server
PPTX
Chapter 1 introduction to sql server
Agile methodology and scrum development
Acquiring new skills what you should know
Baabtra.com programming at school
99LMS for Enterprises - LMS that you will love
Chapter 6 database normalisation
Chapter 5 transactions and dcl statements
Chapter 4 functions, views, indexing
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server

Recently uploaded (20)

PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
A Presentation on Touch Screen Technology
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
Mushroom cultivation and it's methods.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Approach and Philosophy of On baking technology
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Unlocking AI with Model Context Protocol (MCP)
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
A Presentation on Touch Screen Technology
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Enhancing emotion recognition model for a student engagement use case through...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
1. Introduction to Computer Programming.pptx
Mushroom cultivation and it's methods.pdf
Hybrid model detection and classification of lung cancer
1 - Historical Antecedents, Social Consideration.pdf
Hindi spoken digit analysis for native and non-native speakers
Approach and Philosophy of On baking technology
Accuracy of neural networks in brain wave diagnosis of schizophrenia
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Univ-Connecticut-ChatGPT-Presentaion.pdf
Tartificialntelligence_presentation.pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Programs and apps: productivity, graphics, security and other tools
Unlocking AI with Model Context Protocol (MCP)

Xml

  • 3. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4. What is XML?  XML stands for EXtensible Markup Language.  XML is a markup language much like HTML.  XML is Not a Replacement for HTML.  XML was created to structure, store, and transport information.  XML tags are not predefined.
  • 5. Basic Rules  An XML element is made up of a start tag, an end tag, and data in between.  XML tags are case-sensitive. <Month>April</Month> Data Opening and closing tags. <CITY> <City> <city>
  • 6. XML Naming Rules  Names can contain letters, numbers, and other characters.  Names cannot start with a number or punctuation character.  Names cannot start with the letters xml (or XML, or Xml, etc).  Names cannot contain spaces.
  • 7. XML -Declaration <?xml version="1.0" encoding="UTF-8" standalone="no" ?> 1.0 is the current version. The encoding declaration identifies which encoding is used to represent the characters in the document. Use 'no' if the XML document is linked to an external entity references.
  • 8. XML Documents Form a Tree Structure • XML documents must contain a root element. This element is "the parent" of all other elements. • All elements can have sub elements (child elements). <root> <child> <subchild>.....</subchild> </child> </root>
  • 9. An Example XML Document <Employee> <name>john</name> <from>mumbi</from> <age>23</age> <Job>Designer<job> </Employee> Root element Child elements
  • 10. XML Attributes  XML elements can have attributes, just like HTML.  Attributes provide additional information about an element.  Attribute values must always be quoted. <person gender="female"> <firstname>Anna</firstname> <lastname>Smith</lastname> </person>
  • 11. XML Elements vs. Attributes <note date="10/01/2008"> <to>Tove</to> <from>Jani</from> <heading>Reminder </heading> <body>Don't forget me this weekend!</body> </note> <note> <date>10/01/2008</date> <to>Tove</to> <from>Jani</from> <heading>Reminder</headi ng> <body>Don't forget me this weekend!</body> </note>
  • 12. XML Web Service  Web services are application components  Web-applications are simply applications that run on the web.  By using Web services, your application can publish its function or message to the rest of the world.  Web services use XML to code and to decode data, and SOAP to transport it (using open protocols).
  • 13. Advantages of the XML Web services  It allows programs written in different languages on different platforms to communicate with each other in a standards-based way.  XML is a software- and hardware-independent tool for carrying information.
  • 15. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 16. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 17. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us