Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

A quoi sert XML

9,755 views

Published on

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

A quoi sert XML

  1. 1. Comprendre à quoi sert XML Frédéric Kaplan frederic.kaplan@ep!.ch twitter: @frederickaplanTuesday, October 25, 11
  2. 2. XML veut dire eXtensibile Markup Language. XML est un Markup Language (langage de balises) comme HTML.Tuesday, October 25, 11
  3. 3. Ecrire en XML, c’est écrire dutexte avec des balises :<balise> ... du texte ... </balise>Tuesday, October 25, 11
  4. 4. On peut le faire dans n’importe quel éditeur de texte.Tuesday, October 25, 11
  5. 5. 4 caractéristiquesTuesday, October 25, 11
  6. 6. 1. XML est utilisé pour décrire des données pas pour les a"cher. XML ne fait rien. Il décrit.Tuesday, October 25, 11
  7. 7. 2. Les balises XML ne sont pas prédé#nies, vous pouvez créer vos propres balises. Cela vous donne une grande liberté pour décrire une structure comme vous le souhaitez.Tuesday, October 25, 11
  8. 8. 3. Quand vous êtes satisfait de vos balises, vous pouvez #ger votre langage en créant une DTD (Document Type Description). XML permet donc la !uidité et la rigueur.Tuesday, October 25, 11
  9. 9. 4. XML est conçu pour être auto-descriptif et “facilement” lisible. Il sert à écrire des descriptions “pivots”, intermédiaires dans une chaine de production.Tuesday, October 25, 11
  10. 10. Généalogie d’XMLTuesday, October 25, 11
  11. 11. Dans les années 50, les premiers ordinateurs se pouvaient pas communiquer entre marques concurrentes.Tuesday, October 25, 11
  12. 12. En 1960, IBM conçoit le langage GML (Generalized Markup Language) pour échanger des données sans en perdre la structure.Tuesday, October 25, 11
  13. 13. Le succès rencontré a donné naissance à SGML (Standard Generalized Markup Language) qui devient la méthode standard de partage de données adoptée par le gouvernement fédéral des Etats-Unis.Tuesday, October 25, 11
  14. 14. Au début des années 1990, Tim Berners-Lee au CERN crée le langage HTML sur la base d’un sous-ensemble de SGML.Tuesday, October 25, 11
  15. 15. HTML se spécialise progressivement dans les question d’a"chage des données, mais n’impose pas de manière standard pour les décrire.Tuesday, October 25, 11
  16. 16. Un groupe de chercheurs initie le développement d’un autre langage. La version 1.0 d’XML est proposée en 1998.Tuesday, October 25, 11
  17. 17. XML vs HTMLTuesday, October 25, 11
  18. 18. XML n’est pas un remplacement d’HTML. Les deux langages ont des buts di$érents.Tuesday, October 25, 11
  19. 19. XML a été conçu pour le transport et la description de données structurées. HTML a été conçu pour l’a"chage et la mise en page de données.Tuesday, October 25, 11
  20. 20. XML ne fait rien. Il se contente de décrire.Tuesday, October 25, 11
  21. 21. Un #chier XML est comme une base de donnée en texte ordinaire.Tuesday, October 25, 11
  22. 22. Structure d’un #chier XMLTuesday, October 25, 11
  23. 23. Elément XML <BALISE>Texte balisé</BALISE> Balise ouvrante contenu Balise fermanteTuesday, October 25, 11
  24. 24. <BOOK> <TITLE>Da Vinci Code</TITLE> <AUTHOR>Dan Brown</AUTHOR> <YEAR>2003</YEAR> </BOOK>Tuesday, October 25, 11
  25. 25. Avec XML vous pouvez inventer vos propres tags.Tuesday, October 25, 11
  26. 26. <BOOK> <TITLE>Da Vinci Code</TITLE> <AUTHOR>Dan Brown</AUTHOR> <YEAR>2003</YEAR> <STARS>4</STARS> </BOOK>Tuesday, October 25, 11
  27. 27. Un #chier XML commence par une déclaration qui décrit la version de XML utilisée et le type d’encodage du texte.Tuesday, October 25, 11
  28. 28. <?xml version="1.0" encoding="ISO-8859-1"?> <BOOK> <TITLE>Da Vinci Code</TITLE> <AUTHOR>Dan Brown</AUTHOR> <YEAR>2003</YEAR> </BOOK> ISO-8859-1 = Latin-1/West European character setTuesday, October 25, 11
  29. 29. Un document XML est organisé sous la forme d’un arbre.Tuesday, October 25, 11
  30. 30. <BOOK> <FRONT> <TITLE>... </TITLE> <AUTHOR>...</AUTHOR> </FRONT> <BODY>   <PART>     <CHAPTER>...</CHAPTER>   </PART> </BODY> </BOOK>Tuesday, October 25, 11
  31. 31. DTD (dé#nition de type de document)Tuesday, October 25, 11
  32. 32. Un document XML bien formé suit les règles de syntaxes générales des documents XML.Tuesday, October 25, 11
  33. 33. Un document XML valide suit les règles spéci#ques décrites dans un #chier DTD (Document Type Description)Tuesday, October 25, 11
  34. 34. <!DOCTYPE BOOK [ <!ELEMENT BOOK (TITLE,AUTHOR,YEAR)> <!ELEMENT TITLE (#PCDATA)> <!ELEMENT AUTHOR (#PCDATA)> <!ELEMENT YEAR (#PCDATA)> ]>Tuesday, October 25, 11
  35. 35. Utiliser une DTD n’est pas obligatoire mais compense le fait qu’en XML chacun peut créer ses propres tags.Tuesday, October 25, 11
  36. 36. Une DTD permet de se mettre d’accord sur un langage commun.Tuesday, October 25, 11
  37. 37. Il existe des logiciels et des services qui permettent de véri#er qu’un #chier est valide par rapport à une DTD donnée.Tuesday, October 25, 11
  38. 38. A"chage d’un #chier XMLTuesday, October 25, 11
  39. 39. La manière dont un document XML est a"ché peut être spéci#é avec une feuille de style CSS.Tuesday, October 25, 11
  40. 40. BOOK { display: block; margin-bottom: 30pt; margin-left: 0; } TITLE { display: block; color: #FF0000; font-size: 40pt; margin-left: 20pt; } AUTHOR { display: block; color: #0000FF; font-size: 30pt; margin-left: 20pt; } YEAR { display: block; color: #000000; font-size: 30pt; margin-left: 20pt; }Tuesday, October 25, 11
  41. 41. <?xml-stylesheet type="text/css" href="book.css"?>Tuesday, October 25, 11
  42. 42. Un document peut également être transformé avec un script XSLT. C’est aujourd’hui la méthode recommandée.Tuesday, October 25, 11
  43. 43. XSL XSLT XSL-FOTuesday, October 25, 11
  44. 44. XML >>Tuesday, October 25, 11
  45. 45. XML permet de séparer la forme du fond en identi#ant des structures communes à plusieurs documents.Tuesday, October 25, 11
  46. 46. Moteur Format Cible Support cible Source de transformation Moteur de rendu XML InDesign Indesign XSL-FO/PDF Papier / PDF ebook XSLT XHTML Siteweb XML Tablette ePub Webapp Liseuse Smartphone TXT Lecteur MP3 XML TEI / Doc Book Entrée systèmes informatiquesTuesday, October 25, 11
  47. 47. >> XMLTuesday, October 25, 11
  48. 48. Word Stylé Base de donnée XML Document scanné Capteurs ...Tuesday, October 25, 11
  49. 49. XML est donc un format pivot.Tuesday, October 25, 11
  50. 50. Atelier pratique 1 : de XML à InDesignTuesday, October 25, 11
  51. 51. Atelier pratique 2 : de PDF à XMLTuesday, October 25, 11

×