xml
Upcoming SlideShare
Loading in...5
×
 

 

Statistics

Views

Total Views
133
Views on SlideShare
133
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

xml xml Presentation Transcript

  • Week Target Achieved 1 30 21 2 3 Typing Speed
  • SANILA.P sanila222@gmail.com www.facebook.com/ twitter.com/s in.linkedin.com/in/ 9745709377
  • 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.
  • 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.
  • 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.
  • 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
  • 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>
  • 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
  • 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.
  • 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>
  • • 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>
  • 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
  • XML ATTRIBUTE Attributes provide additional information about an element. Eg: <person sex="female">
  • 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
  • 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
  • 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