SlideShare une entreprise Scribd logo
1  sur  32
An Introduction to XML Based on the  W3C XML Recommendations
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML vs HTML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML vs HTML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML vs HTML ,[object Object],[object Object],[object Object],[object Object],[object Object]
Elements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Attributes ,[object Object],[object Object]
White Space ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Optional White Space ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mandatory White Space ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Must have white space here
Preserved White Space ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Empty Content ,[object Object],[object Object],[object Object],[object Object],[object Object]
Valid vs Well Formed ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML Schema ,[object Object],[object Object],[object Object],[object Object]
XML Schema ,[object Object],<?xml version=&quot;1.0&quot;?> <xsd:schema xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; targetNamespace=&quot;http://www.sample.org/xml&quot; xmlns=&quot;http://www.sample.org/xml&quot; elementFormDefault=&quot;qualified&quot;> <xsd:element name=“File&quot;> <xsd:complexType> <xsd:sequence> <xsd:element ref=“Record&quot; minOccurs=“0&quot; maxOccurs=“unbounded&quot;/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name=“Record&quot;> <xsd:complexType> <xsd:sequence> <xsd:element ref=“Fill minOccurs=“1&quot; maxOccurs=“1”/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name=“Fill&quot; type=&quot;xsd:string&quot;/> </xsd:schema> <!ELEMENT File (Record)*> <!ELEMENT Record (Fill)> <!ELEMENT Fill (#PCDATA)> DTD XML Schema Mercator Type Tree
XML Schema ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML Schema ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Namespaces ,[object Object],[object Object]
Namespaces, cont. ,[object Object],<table> <name>Tea Table</name> <width>80</width> <length>120</length> </table> <table> <tr> <td>Apples</td> <td>Bananas</td> </tr> </table>
Solving Name Conflicts using a Prefix ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using Namespaces ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Namespaces ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML Samples ,[object Object],[object Object],[object Object],[object Object],[object Object]
XML Data Sample ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML Schema Sample ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML DTD Sample ,[object Object],[object Object],[object Object],[object Object]
Style Sheet (XSL) Sample ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XHTML Generated <html> <body> <h2>XHTML Sample</h2> <table border=&quot;1&quot;> <tr bgcolor=&quot;gray&quot;> <th>Name</th> <th>Description</th> </tr> <tr> <td>Optional name tag used in this child tag</td> <td>First description start/end tag pair in child tag</td> </tr> <tr> <td>Optional name tag used in this child tag</td> <td>First description start/end tag pair in child tag</td> </tr> </table> </body> </html>
XML Spy ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Other Tools ,[object Object],[object Object],[object Object],[object Object]
XML Resources on the web ,[object Object],[object Object],[object Object],[object Object],[object Object]
Contact Us ,[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTMLsatvirsandhu9
 
HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners Nimrakhan89
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTMLMehul Patel
 
Html Intro2
Html Intro2Html Intro2
Html Intro2mlackner
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tagsSEO SKills
 
IPW HTML course
IPW HTML courseIPW HTML course
IPW HTML courseVlad Posea
 
Creating APIs over RDF
Creating APIs over RDFCreating APIs over RDF
Creating APIs over RDFLeigh Dodds
 
Everything You Always Wanted To Know About XML But Were Afraid To Ask
Everything You Always Wanted To Know About XML But Were Afraid To AskEverything You Always Wanted To Know About XML But Were Afraid To Ask
Everything You Always Wanted To Know About XML But Were Afraid To AskRichard Davis
 
Introduction to web development - HTML 5
Introduction to web development - HTML 5Introduction to web development - HTML 5
Introduction to web development - HTML 5Ayoub Ghozzi
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introductionc525600
 
Html for Beginners
Html for BeginnersHtml for Beginners
Html for BeginnersSriram Raj
 

Tendances (19)

Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
 
Design Tools Html Xhtml
Design Tools Html XhtmlDesign Tools Html Xhtml
Design Tools Html Xhtml
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html Intro2
Html Intro2Html Intro2
Html Intro2
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tags
 
IPW HTML course
IPW HTML courseIPW HTML course
IPW HTML course
 
Creating APIs over RDF
Creating APIs over RDFCreating APIs over RDF
Creating APIs over RDF
 
Everything You Always Wanted To Know About XML But Were Afraid To Ask
Everything You Always Wanted To Know About XML But Were Afraid To AskEverything You Always Wanted To Know About XML But Were Afraid To Ask
Everything You Always Wanted To Know About XML But Were Afraid To Ask
 
Introduction to web development - HTML 5
Introduction to web development - HTML 5Introduction to web development - HTML 5
Introduction to web development - HTML 5
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Xhtml
XhtmlXhtml
Xhtml
 
Html for Beginners
Html for BeginnersHtml for Beginners
Html for Beginners
 
Html
HtmlHtml
Html
 

En vedette

praktikum ict raudah harahap
praktikum ict raudah harahappraktikum ict raudah harahap
praktikum ict raudah harahapRaudah Harahap
 
Carte de compliment 201301
Carte de compliment 201301Carte de compliment 201301
Carte de compliment 201301Julien Lacomblez
 
Golf Classic and Desert Adventure Event
Golf Classic and Desert Adventure EventGolf Classic and Desert Adventure Event
Golf Classic and Desert Adventure EventDawn Alcorn
 
London Plus Acumen Pitch Application
London Plus Acumen Pitch ApplicationLondon Plus Acumen Pitch Application
London Plus Acumen Pitch ApplicationNelson Enojo
 
Instituto Peruano de Energia Nuclear
Instituto Peruano de Energia NuclearInstituto Peruano de Energia Nuclear
Instituto Peruano de Energia Nuclearmarcoantoniovega101
 
Culture Marketing - Brand Content That Matters
Culture Marketing - Brand Content That MattersCulture Marketing - Brand Content That Matters
Culture Marketing - Brand Content That MattersVisage
 
Producto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembre
Producto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembreProducto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembre
Producto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembreyahiroptimus
 
Producto 1. unidad i. cruz martínez abner yahir. semana 14 – 18 de sept...
Producto 1.   unidad i.   cruz martínez abner yahir.   semana 14 – 18 de sept...Producto 1.   unidad i.   cruz martínez abner yahir.   semana 14 – 18 de sept...
Producto 1. unidad i. cruz martínez abner yahir. semana 14 – 18 de sept...yahiroptimus
 
La Gran Muralla China
La Gran Muralla ChinaLa Gran Muralla China
La Gran Muralla ChinaArathcourtois
 

En vedette (12)

CV rajan modified
CV rajan modifiedCV rajan modified
CV rajan modified
 
praktikum ict raudah harahap
praktikum ict raudah harahappraktikum ict raudah harahap
praktikum ict raudah harahap
 
393
393393
393
 
Carte de compliment 201301
Carte de compliment 201301Carte de compliment 201301
Carte de compliment 201301
 
Patent Art Concept C1.PDF
Patent Art Concept C1.PDFPatent Art Concept C1.PDF
Patent Art Concept C1.PDF
 
Golf Classic and Desert Adventure Event
Golf Classic and Desert Adventure EventGolf Classic and Desert Adventure Event
Golf Classic and Desert Adventure Event
 
London Plus Acumen Pitch Application
London Plus Acumen Pitch ApplicationLondon Plus Acumen Pitch Application
London Plus Acumen Pitch Application
 
Instituto Peruano de Energia Nuclear
Instituto Peruano de Energia NuclearInstituto Peruano de Energia Nuclear
Instituto Peruano de Energia Nuclear
 
Culture Marketing - Brand Content That Matters
Culture Marketing - Brand Content That MattersCulture Marketing - Brand Content That Matters
Culture Marketing - Brand Content That Matters
 
Producto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembre
Producto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembreProducto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembre
Producto 2. unidad i. cruz martinez abner yahir. semana 14 18 septiembre
 
Producto 1. unidad i. cruz martínez abner yahir. semana 14 – 18 de sept...
Producto 1.   unidad i.   cruz martínez abner yahir.   semana 14 – 18 de sept...Producto 1.   unidad i.   cruz martínez abner yahir.   semana 14 – 18 de sept...
Producto 1. unidad i. cruz martínez abner yahir. semana 14 – 18 de sept...
 
La Gran Muralla China
La Gran Muralla ChinaLa Gran Muralla China
La Gran Muralla China
 

Similaire à Introduction To Xml

Similaire à Introduction To Xml (20)

3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schema
 
XML and XSLT
XML and XSLTXML and XSLT
XML and XSLT
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML Training Presentation
XML Training PresentationXML Training Presentation
XML Training Presentation
 
XML processing with perl
XML processing with perlXML processing with perl
XML processing with perl
 
XML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEARXML and Web Services with PHP5 and PEAR
XML and Web Services with PHP5 and PEAR
 
Xml
XmlXml
Xml
 
Xml Schema
Xml SchemaXml Schema
Xml Schema
 
XMLT
XMLTXMLT
XMLT
 
Xml
XmlXml
Xml
 
1.1 xhtml basics
1.1 xhtml basics1.1 xhtml basics
1.1 xhtml basics
 
Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4Inroduction to XSLT with PHP4
Inroduction to XSLT with PHP4
 
Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web Services
 
Agile Descriptions
Agile DescriptionsAgile Descriptions
Agile Descriptions
 
Quick Referance to WML
Quick Referance to WMLQuick Referance to WML
Quick Referance to WML
 
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Xml Zoe
Xml ZoeXml Zoe
Xml Zoe
 
Xml Zoe
Xml ZoeXml Zoe
Xml Zoe
 
Grddl In A Nutshell V1
Grddl In A Nutshell V1Grddl In A Nutshell V1
Grddl In A Nutshell V1
 

Introduction To Xml

  • 1. An Introduction to XML Based on the W3C XML Recommendations
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. XHTML Generated <html> <body> <h2>XHTML Sample</h2> <table border=&quot;1&quot;> <tr bgcolor=&quot;gray&quot;> <th>Name</th> <th>Description</th> </tr> <tr> <td>Optional name tag used in this child tag</td> <td>First description start/end tag pair in child tag</td> </tr> <tr> <td>Optional name tag used in this child tag</td> <td>First description start/end tag pair in child tag</td> </tr> </table> </body> </html>
  • 29.
  • 30.
  • 31.
  • 32.