Search PPTs

Wednesday, July 24, 2013

PPT On XML Tutorial

Presentation On XML Tutorial
Download

XML Tutorial Presentation Transcript:
1.XML

2.What is XML?
XML stands for EXtensible Markup Language
XML is a markup language much like HTML
XML was designed to describe data
XML tags are not predefined. You must define your own tags
XML uses a Document Type Definition (DTD) or an XML Schema to describe the data
XML with a DTD or XML Schema is designed to be self-descriptive
XML is a W3C Recommendation

3.XML vs. HTML
XML is not a replacement for HTML. XML and HTML were designed with different goals:
XML was designed to describe data and to focus on what data is. HTML was designed to display data and to focus on how data looks.
HTML is about displaying information, while XML is about describing information.

4.XML
XML was created to structure, store and to send information.
The following example is a note to Kamal from Jani, stored as XML:

    Paresh
    Jani Your CV
    You have been short listed.


5.How XML can be used?
XML can Separate Data from HTML.
With XML, your data is stored outside your HTML.
XML is Used to Exchange Data
With XML, data can be exchanged between incompatible systems.
XML Can be Used to Share Data
With XML, plain text files can be used to share data.
XML Can be Used to Store Data
With XML, plain text files can be used to store data.

6.XML Syntax
Simple xml file:
   
   
        Paresh
        Jani    
        Your Resume
        You have been short listed
   


7.XML Syntax
The first line in the document - the XML declaration - defines the XML version and the character encoding used in the document.
The next line describes the root element of the document (like it was saying: "this document is a note"):
Next 4 lines describes 4 child elements of the root (to, from, heading, and body)
And finally the last line defines the end of the root element: 
 

8.XML Syntax
All XML Elements Must Have a Closing Tag.
XML Tags are Case Sensitive.
XML Elements Must be Properly Nested.
This text is bold and italic

XML Documents Must Have a Root Element.
XML Attribute Values Must be Quoted.
Comments in XML

 9.XML Elements
XML Elements are Extensible.
XML Elements have Relationships
Elements are related as parents and children.
To understand the relationships between XML elements consider the following example:
My First XML
Introduction to XML
What is HTML
What is XML
XML Syntax
Elements must have a closing tag
Elements must be properly nested

10.XML Elements

    My First XML
    Introduction to XML
        What is HTML
        What is XML
   

    XML Syntax
        Elements must have a closing tag
        Elements must be properly nested

No comments:

Related Posts Plugin for WordPress, Blogger...

Blog Archive