XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

XML: Extensible Markup Language
XML Technology in E-Commerce
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Project 1 Introduction to HTML.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
XML Prashant Karmarkar Brendan Nolan Alexander Roda.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
1st Project Introduction to HTML.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
MSc IT Multimedia XML & XSLT P. Muneesawang. 2 Outline Why XML XSL.
Fundamentals of XML Management Greg Alexopoulos Systems Engineer Documentum.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XML Extensible Markup Language
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
CEAL 2003 XML for CJK Wooseob Jeong School of Information Studies University of Wisconsin - Milwaukee.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Martin Kruliš by Martin Kruliš (v1.1)1.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
XML Tools (Chapter 4 of XML Book). What tools are needed for a complete XML application? n Fundamental components n Web infrasructure n XML development.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
I Copyright © 2004, Oracle. All rights reserved. Introduction.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
Beyond HTML: Extensible Markup Language (XML)
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
Updated :02 Hong Kong University of Science & Technology Library Workshop on XML-Based Library Applications 1. What is XML?
HTML 2.0HTML 3.2 HTML 4.0 HTML 4.01 XHTML malformed, non-standard markup.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
XML Introduction Bill Jerome.
Project 1 Introduction to HTML.
Unit 4 Representing Web Data: XML
Chapter 1 Introduction to HTML
XML Related Technologies
Chapter 1 Introduction to HTML.
XML QUESTIONS AND ANSWERS
Project 1 Introduction to HTML.
XML in Web Technologies
Session I - Introduction
Session I - Introduction
Database Processing with XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 7 Representing Web Data: XML
XML Data Introduction, Well-formed XML.
More Sample XML By Sadia Anjum.
XML Introduction By Hongming Yu Feb 6th, 2002.
Introduction to World Wide Web
XML and its applications: 4. Processing XML using PHP
Presentation transcript:

XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables the next generation of web applications to be deployed. There is a lot going on regarding XML that could be of interest to us in the near future, especially SOAP/.NET from Microsoft.

What Is XML? Extensible markup language Encoding objects based on their structure and meaning of content Convergence of three technologies: Document markup Data interchange World wide web XML is the next generation language for the web. An open standard maintained by the World wide web consortium. Application independent data structure for machine to machine data exchange. Provides deep structural capabilities to information owners. Based on SGML – standard generalized markup language. From SGML perspective, XML is a profile. Valid XML = valid SGML Extensible Markup Language (XML) is the universal language for data on the Web. It gives developers the power to deliver structured data from a wide variety of applications to the desktop for local computation and presentation. XML allows the creation of unique data formats for specific applications. It is likewise an ideal format for the server-to-server transfer of structured data. Convergence: the document centric world. WWW and HTML today. Human readable, Linear, Portable, based on conventions. the “data-centric world”. B2B, B2C. Managed data, predictable structure, data management, information location and retrieval, sorting and filtering, types links, separation of processing from storage. Web. The new world. Universal addressing mechanism, simple but rich transfer protocol, link resolution infrastructure, browser interface.

Why XML? To address HTML limitations Enabling technology for a business web Next generation web HTML provides simple formatting and access to non-text objects. Too flat, too display oriented. HTML is primarily a formatting language. Business is done over the web. Data interchange. Meta-data. B2B. Better access to web-based information. Structured. XML will make web content more information oriented. Internationalized (Unicode). Rendering (Cascading Style Sheets, XSL – Extensible style sheet language). Addressing and linking (XML Query, Xpath, Xpointer, Xlink). Manipulation (SAX, DOM APIs). Multimedia (SVG, SMIL). Metadata.

Basic XML Process XML Document End Result Content, structure, meaning XML Document End Result Processing Engine What to do with XML Application SpecificationObject XML Processing Store it – file system, database (BLOB or data type), XML aware database as decomposed tree or as cluster of objects and relationships. Send and Receive it – Spit it out of my application, send it over the wire, pull it from the data store. Transform it – Transform to industry standard schema, display based vocabulary, down translation. Render it – XHTML, PDF, RTF, PostScript, Text, XSL Formatting objects, CSS Two step process – XML Parser & application layer.

Processing XML Parsers Parsers are commodity items Two basic types: Tree based (DOM) Event based (SAX) Your applications requirements decide which one to use Validating parsers Document Object Model W3C. Tree structure to create, access and modify XML document representation. DOM is specified in IDL. Simple API for XML – GUIs, stream based processing. SAX Implementations are available in Java, C/C++, Perl, COM, Python, Build and populate internal data models from XML documents, pull in XML data streams, do pipeline processing of XML documents. Xt, an XSLT engine uses SAX. Well formed documents need not be valid. Applications need data to be predictable.

XML Validity Well-formed is not always enough. Provides higher level conformance. Include formal definition of data model. Document type definition (DTD). Schema. A DTD defines a document type. Well-formed Vs Valid Well formed documents can be processed ny SAX or DOM, but applications need data to be predictable. All constructs used in the document must be defined. DTDs have been around for years. Stable W3C spec. Existing tools that understand and use DTDs. Schemas are an attempt to provide alternate to DTDs. Schema itself is a well-formed XML. Processable as XML. XML-Schema (Microsoft), SOX Commerce One, DDML/Xschema Schema supports data typing for attribute values. Enforces parser data typing. A DTD is a set of declarations that define a document type Each XML is an instance of its document type.

XSL and XSLT XSL XSLT XSLT – transformation stylesheet XSL FO – formatting objects XSLT XSL Style sheets are well-formed XML documents XSLT takes as input a well-formed XML document produces as output XML, HTML or non-XML XML Document HTML Document XSLT Engine XSLT Style sheet

Very Simple Example <xsl:stylesheet version=“1.0”> <person type=“fictional”> <name> <first>Peter</first> <last>Pan</last> <feature>flies</feature> </person> <xsl:stylesheet version=“1.0”> <xsl:template match=“person”> <html><p> <xsl:apply-templates/> </p></html> </xsl:template> </xsl:stylesheet> XSL Style sheets are well-formed XML documents XSLT takes as input a well-formed XML document produces as output XML, HTML or non-XML\ The Key to XSLT: Addressing Must be able to tell what elements a template would be used on, therefore must be able to identify elements in a document by : name : location : parentage : attribute : attribute value : content W3C provides standard way to do this: Xpath XSLT Engine <html><p>PeterPanflies</p></html>

XML Future Http & XML =. XML enabled data bases. Soap. XML-RPC. Can work across firewalls. Platform independent. XML enabled data bases. XML enabled search engines. Industry standard XML vocabularies. SOAP – Simple object access protocol Many of the top SGML vendors have made generalized XML versions of their products available, such as ArborText Adept7 (http://www.arbortext.com/), Inso Dynabase (http://www.inso.com/), Chrystal Software Astoria (http://www.chrystal.com/), and POET Object Server (http://www.poet.com/) for authoring, editing, and database publishing. Other vendors, such as DataChannel Inc. (http://www.datachannel.com/) have products based on XML for data management XML vocabularies are the elements used in particular applications or data formats—the definitions of the meanings of those formats. For example, in CDF, element names such as <schedule>, <channel>, and <item> make up the vocabulary for describing collections of pages, when these pages should be downloaded, and so on. Vocabularies, along with the structural relationships between the elements, are defined in XML DTDs or XML schemata. Users can even build their own XML vocabularies (hence the "Extensible" in XML). An automotive trade group, for example, could build a specialized XML vocabulary of automotive terms, and then tag its data with those terms. Microsoft is working with various industries to help them create their own XML vocabularies, Denning says. Standard Vocabulary We expect standard libraries of vocabulary to be developed to capture common semantics used in vertical applications and particularly in industry and application domains. Dublin Core and CDF are two examples of such standard libraries. CDF - Channel Definition Format (CDF) is an XML-based data format used in the Microsoft Internet Explorer version 4.0 browser, for describing Active Channel content and the Desktop components. Open Software Description (OSD) is an XML-based data format fully supported in Microsoft Internet Explorer version 4.01, for advertising and installing software components over the Internet. Open Financial Exchange (OFX) is a data format that Microsoft Money and Intuit Quicken personal finance applications use to communicate with financial institutions over the Web. Although it is currently described using SGML, OFX will soon be based on XML.