Published on

Published in: Technology, News & Politics
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 1. Week Target Achieved 1 30 21 2 3 Typing Speed
  2. 2. SANILA.P sanila222@gmail.com www.facebook.com/ twitter.com/s in.linkedin.com/in/ 9745709377
  3. 3. XML • XML stands for eXtensible Markup Language. • XML is a markup language much like HTML • XML was designed to carry data, not to display data • XML tags are not predefined. You must define your own tags • A markup language is used to provide information about a document.
  4. 4. USE OF XML • XML documents are used to transfer data from one place to another often over the Internet. • XML subsets are designed for particular applications. Eg: It is used to send breaking news bulletins from one web site to another.
  5. 5. XML APPLICATIONS • Web searching and automating Web tasks: XML defines the type of information contained in a document, making it easier to return useful results when searching the Web • e-business applications: XML implementations make electronic data interchange (EDI) more accessible for information interchange, business-to- business transactions, and business-to-consumer transactions.
  6. 6. ADVANTAGES OF XML • XML Separates Data from HTML • XML Simplifies Data Sharing • XML Simplifies Data Transport • XML Simplifies Platform Changes • XML Makes Your Data More Available
  7. 7. FORMAT OF XML DOCUMENT A XML document is consist of tags and data. All data in an XML document is wrapped by the tags <parent> <child1> <subchild1>.....</subchild1> <subchild2>.....</subchild2> </child1> </parent>
  8. 8. Example of xml document <?xml version="1.0" encoding= "UTF-8" ?> <address> <name>Sanila</name> <email>sanila@gmail.com</email> <phone>98564125</phone> <birthday>1992-09-07</birthday> </address> OUTPUT
  9. 9. DIFFERENCE BETWEEN XML AND HTML • HTML tags have a fixed meaning and browsers know what it is. • XML tags are different for different applications, and users know what they mean. • HTML tags are used for display. • XML tags are used to describe documents and data.
  10. 10. XML RULES • All XML Elements Must Have a Closing Tag Eg:<name> john</name> • XML Elements Must be Properly Nested Eg: <b><i>This text is bold and italic</i></b> • XML Tags are Case Sensitive <message>This is correct</message>
  11. 11. • XML Attribute Values Must be Quoted Eg: <note date="12/11/2007"> <to>Tove</to> <from>Jani</from> </note> • XML Documents Must Have a Root Element Eg:<note > <to>Tove</to> <from>Jani</from> </note>
  12. 12. XML ELEMENTS An XML element is everything from the element's start tag to the element's end tag. An element can contain: • other elements • text • attributes
  13. 13. XML ATTRIBUTE Attributes provide additional information about an element. Eg: <person sex="female">
  14. 14. XML NAMING RULE • 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
  15. 15. 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
  16. 16. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  1. A particular slide catching your eye?

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