1 / 33

XML Concepts and Basics

1. XML Concepts and Basics. What is XML ?. " XML is a vehicle not only for business-to-business transaction and content management, but for the encoding of transactional data passed from business function to business function.". " XML is the ideal basis for a multimedia publishing

nyx
Download Presentation

XML Concepts and Basics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 1 XML Concepts and Basics

  2. What is XML? "XML is a vehicle not only for business-to-business transaction and content management, but for the encoding of transactional data passed from business function tobusiness function." "XMLis the ideal basis for a multimedia publishing concept, which is information on demand." "XML can describe the content structures of all kinds of documents and data in the most appropriate way for each application." "An EAI-enabling technology that simplifies application integration within an organization."

  3. "We realized that XMLwould be the best way to store tax returns, tax schedules, and tax related messages."(California Board of Equalization, USA) What is XML ? "The features of XML make it possible to select certain contents out of a document and present them in various media."(Huethig Publishing Group, Germany) "With XML it is easy for clients to re-present the information in the way that bests suits their needs." (Sportsdata Pty Ltd, Australia) "In a few years' time, no company in the automotive sector will be able to manage without XML." (Lear Corporation, Fiat Division, Italy)

  4. What is XML ? A standard developed by theWorld Wide Web Consortiumfor structured text The "ExtensibleMarkup Language" XML makes documents available for automatedprocessing. The basis is the separation of content,structure, and presentation. A Meta Markup Language

  5. HTML

  6. XML

  7. Compare HTML to XML Meta Markup Language SGML XML Markup Language HTML TECHNICAL BOOK Extensible only bythe W3C Define tags yourself Markup for the presentation in the browser of text, images, links, ... Markup with information on the content Example: technical book

  8. HTML • Formatting language for Web browsers • Easy to understand and to use • Widely used • No semantics • Content cannot be recognized and processed by programs • Expensive maintenance of pages • No common standard • Difficult to extend (for market-related and technical reasons)

  9. XML • Meta language • Markup languages (tags) can be defined • Like HTML, XML is integrated in the Internet technology • XML separates data and instructions for presentation. • XML is a self-describing data format. • XML is document- and data-oriented

  10. Information TechnologyUntil Recently

  11. E-Business Sales Automation Mobile Employees CRM Data Transaction Processing ERP Applications Portals Customers Knowledge Management Supply Chain Management Catalogs Documents Browser and Mobile Devices Business Partners Information Technology Today

  12. XML and ... Content Management Document Management Publishing Web Services Data Exchange Application Integration

  13. XML and Document Management

  14. SGML • Standard Generalized Markup Language(Charles F. Goldfarb, Ed Mosher, Ray Lorie) • Metalanguage to define different document types • ISO standard 1986 (ISO 8879) • The idea • Document processing by computer • Separation of structure, content and presentation • System- und vendor-independent • Drawbacks • Complex; many options for special applications • Syntax not legible by humans • Complex and expensive tools

  15. Documents Content Document vs. Content Management

  16. Extract • Assemble • Format • Publish Content Management Content

  17. Content Management System Content Management Systems Editorial Workflow Authoring Media-neutral Data Storage Cross Media Publishing Content Administration Website Management

  18. Content Management System XML and Content Management EditorialWorkflow Authoring Media-neutralData Storage Cross Media Publishing Content Administration Website Management

  19. <?xml version="1.0"?> <weather-report> <date>August 15, 2000</date> <time>08:00 </time> <area> <city>Darmstadt</city> <region>Hessen</region> <country>Germany</country> </area> <measurements> <skies>fine</skies> <temperature scale="C">25</temperature> <wind> <direction>SW</direction> <windspeed>6</windspeed> </wind> </measurements> </weather-report> Weather Data

  20. Printer Graphics <?xml?> <weather-report> <date>August 15, 2000</date> <time>08:00 </time> <area> <city>Darmstadt</city> <region>Hessen</region> <country>Germany</country> </area> <measurements> <skies>fine</skies> <temperature scale=“C”>25</temperature> <wind> <direction>SW</direction> <windspeed>6</windspeed> </wind> </measurements> </weather-report> Reports Internet Publishing Using Style Sheets Weather Data Braille News Ticker Frankfurt: Wind 4 WNW / Rain / 22°C

  21. XML and Publishing XForms XHTML WML SMIL SVG VoiceXML

  22. <?xml version="1.0"?> <svg width="50" height="40"> <defs><clipPath id="clip1"> <rect x="0" y="0" width="50" height="40"/> </clipPath> </defs> <g style="stroke:none; clip-path:url(#clip1)"> <rect x="0" y="0" width="50" height="40" style="fill:#0000A0"/> <path style="stroke:#ffffff;stroke-width:8"d="M 0,0 L 50,40 M 0,40 L 50,0"/> <path style="stroke:#ff0000;stroke-width:5"d="M 0,0 L 50,40 M 0,40 L 50,0"/> <path style="stroke:#ffffff;stroke-width:8"d="M 25,0 V 40 M 0,20 H 50"/> <path style="stroke:#ff0000;stroke-width:5"d="M 25,0 V 40 M 0,20 H 50"/> </g></svg> Scalable Vector Graphics

  23. Data Exchange Banks Suppliers Customers Payments / Credits Orders Order Processing and Service Enterprises ServiceProvider Public Authorities Transportation/Logistics Taxes / Regulations Delivery

  24. XML and Data Exchange ebXML XML / EDI HL/7 NewsML FpML XBRL

  25. OrderProcessing MaterialsManagement Call Center Accounting Design Manufacturing PersonnelAdministration Application Integration

  26. OrderProcessing MaterialsManagement Call Center Accounting Design Manufacturing PersonnelAdministration XML and Application Integration

  27. Logistics Provider Bank CORBA COM SOAP SOAP SOAP ShopApplication RPC Supplier Dealer Web Services Web ServiceShipping Order Web ServiceCredit Card Check Web ServiceOrder Acceptance

  28. <SOAP-ENV:Envelope> <SOAP-ENV:Body> <getPrice> <isbn type="string">1861005067</isbn> </getPrice> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Request <?xml version='1.0'?> <SOAP-ENV:Envelope ...> <SOAP-ENV:Body> <getPriceResponse> <return type="float">25.95</return> </getPriceResponse > </SOAP-ENV:Body> </SOAP-ENV:Envelope> Response XML and Web Services Barnes & Noble Book Prices(http://services.xmethods.net:80/soap/servlet/rpcrouter)

  29. Presentation <?xml version="1.0"?> <weather-report> <date>August 15, 2000</date> <time>08:00 </time> <area> <city>Darmstadt</city> <region>Hessen</region> <country>Germany</country> </area> <measurements> <skies>fine</skies> <temperature scale=“C”>25</temperature> <wind> <direction>SW</direction> <windspeed>6</windspeed> </wind> </measurements> </weather-report> Structure Description Working with XML Content

  30. DTD /Schema Style Sheet <?xml?> <yacht yachtid='147'> <name>Mona Lisa</name><image file='yacht147.jpg'/> <description> Any text describing this yacht 147</description> <details> <type>GULFSTAR 55</type> ength>1700</length> <width>480</width> <draft>170</draft> <sailsurface>112</sailsurface> <motor>84</motor> <headroom>202</headroom> <bunks>8</bunks> </details> </yacht> Stylesheet Processor Parser 01 Person 05 Name 10 FName 10 SName Application Processing with XML Processing Presentation

  31. Adding XML Editor Editing Processing Application Parser Storing Sending Application Parser Parser Processing Display Style Sheet Scenarios

  32. Applications Humans Network Transfer Application Integration Data Exchange Web Services Publishing Content Management Processing Types Anwendungsgebiete Storage and Retrieval XML Summarized Homogeneous Technology HTML WML SVG pdf VoiceML ... Presentation

  33. Summary • XML, the Extensible Markup Language, has attracted vast attention within a short time. XML is based on established standards. • Areas of application are primarily Document Management, Content Management, Publishing, Data Echange, Application Integration and Web Services. XML therefore concerns applications in all areas of commerce, technology, and science.

More Related