Showing posts with label XML. Show all posts
Showing posts with label XML. Show all posts

Tuesday, August 27, 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

  
    Introduction to XML
        What is HTML
        What is XML
    

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


Source: Power Point Presentations

Monday, August 19, 2013

PPT ON XML

PPT On XML

Download

Description:
1. Extensible Markup Language

2. XML Is A W3C Standard
First official XML specification (1.0) published in February 1998.
XML is upper version of HTML. 

3. A method for putting structured data in a text file. Uses tags to specify certain rules. Used with a processing application that knows how to handle tags.

4. XML is meta language that describe the content of document
Java = portable program
XML = portable data
XML does not specify the tag set or grammar of the language

5. The “X” in XML
eXtensible.
Tags are defined by the person creating the document.
Tag sets have been developed for specialized topics.
–Chemistry, math, music, libraries, calendar events, addresses, etc.

6. Key Uses Of XML
Data storage
Data exchange
Document publishing

7. XML: Data Storage
Searching the data is relatively easy.
Format is standard.
Standard tools for input/output and validation exist.
Easy to read files makes debugging easier.

8. XML: Data Exchange
Data is relatively easy to read and edit with a simple text editor.
Complex relationships like trees and inheritance can be communicated.
Tags are self-describing, human readable.
Automatic data validation.

9. XML: Document Display
Meaning of tags is handled by XSL.
–Instructions for transforming one kind of document to another.
–Common transformation is XML to HTML
One XML may be linked to multiple XSL files.
–Content in one file can be rendered for the Web, print, smart phones, etc.
Separation of content from presentation.

10. Processing Applications
Processing applications
–Check that XML document meets standards for being “well formed”.
–Validate based on syntax defined in the DTD(Document Type Definition)
–Transform based on instructions in the XSL

11. Why XML? 
Four different renderings generated from a single XML file.
–Graphical
–Text only
–Site map
–Quick links
Link consistency.

12. XML Examples
VT home page (top level university pages).
-One XML file stores all content, links
- XSL transforms the XML into HTML
Hokie Portal
–an XML-based syndication format

13. Why Use XML?
Allows for distributed content management.
Various university departments may “own” RSS channels.
Channel owners edit their content directly.
Webmaster controls display.
Automatic validation of RSS files.

14. When You Might Use XML
Store and search small amounts of data.
Exchange data between different applications or organizations.
Separate content from presentation.

15. Tools
Tool exist for many programming languages.
–Java, ASP, PHP
XML processing application

16. Future Of XML
Editors and processing applications that are easier to use.
Built in browser support
XHTML

17. Thank You.

Source: Power Point Presentations