Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this


  1. 1. Sreyachandran .v 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 @ 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 @ Like us @ Subscribe to us @ Become a follower @ Connect to us @ Give a feedback @ Thanks in advance | |
  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: Contact Us