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
docu...
What is XML?
 XML stands for EXtensible Markup Language.
 XML is a markup language much like HTML.
 XML is Not a Replac...
Basic Rules
 An XML element is made up of a start tag, an end tag, and
data in between.
 XML tags are case-sensitive.
<M...
XML Naming Rules
 Names can contain letters, numbers, and other characters.
 Names cannot start with a number or punctua...
XML -Declaration
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
1.0 is the current version.
The encoding declarat...
XML Documents Form a Tree
Structure
• XML documents must contain a root element. This element is
"the parent" of all other...
An Example XML Document
<Employee>
<name>john</name>
<from>mumbi</from>
<age>23</age>
<Job>Designer<job>
</Employee>
Root
...
XML Attributes
 XML elements can have attributes, just like HTML.
 Attributes provide additional information about an el...
XML Elements vs. Attributes
<note date="10/01/2008">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder
</heading>
<body>Do...
XML Web Service
 Web services are application components
 Web-applications are simply applications that run on the web.
...
Advantages of the XML Web services
 It allows programs written in different languages on different
platforms to communica...
THANKYOU
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many con...
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ s...
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Sta...
Xml
Upcoming SlideShare
Loading in...5
×

Xml

312

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
312
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Xml

  1. 1. Sreyachandran .v Sreya.chandran31@gmail.com www.facebook.com/sreya twitter.com/username in.linkedin.com/in/profilename XML
  2. 2. 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
  3. 3. 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.
  4. 4. 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>
  5. 5. 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.
  6. 6. 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.
  7. 7. 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>
  8. 8. An Example XML Document <Employee> <name>john</name> <from>mumbi</from> <age>23</age> <Job>Designer<job> </Employee> Root element Child elements
  9. 9. 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>
  10. 10. 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>
  11. 11. 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).
  12. 12. 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.
  13. 13. THANKYOU
  14. 14. 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.
  15. 15. 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
  16. 16. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×