Pervasive e-commerce with XML Babak Esfandiari Carleton University Ottawa, Canada.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

XML: Extensible Markup Language
1 Web Services Based partially on Sun Java Tutorial at Also, XML, Java and the Future of The Web, Jon Bosak. And WSDL.
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 24.
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.
Advanced Technical Writing 2006 Session #3. Today in Class… ► Teams pitch poster concepts:  Meet with your editorial team, show us how your material.
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.
CS155b: E-Commerce Lecture 10: Feb. 13, 2003 XML and its relationship to B2B commerce Acknowledgements: R. Glushko, A. Gregory, and V. Ramachandran.
Modelling the spatial data of Hellenic Cadastre and generating the geodatabase schema Aris Sismanidis ARISTOTLE UNIVERSITY OF THESSALONIKI FACULTY OF ENGINEERING.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Slide 1 Wolfram Höpken RMSIG Reference Model Special Interest Group Second RMSIG Workshop Methodology and Process Wolfram Höpken.
AMS confidential & proprietary International Business and Technology Consultants 1 XML as a Document Exchange Format Tom Loukas AMS Center for Advanced.
Metadata Tools and Methods Chris Nelson Metanet Conference 2 April 2001.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
Introduction to MDA (Model Driven Architecture) CYT.
XML Transformations Eugenia Fernandez IUPUI. Stylesheet Technologies Browser-based Presentation HTML Cascading Stylesheets Programming-based Transformation.
WHAT THE HELL IS XML?. What the Hell is XML? What the hell is XML?  Markup Language  Derived from SGML (Standardized General Markup Language)  Describes.
A. Dogac Grenoble Ecole de Managenent MEDFORIST Workshop1 Grenoble Ecole de Management MEDFORIST Workshop XML in Brief Asuman Dogac Middle East Technical.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
OASIS Week of ebXML Standards Webinars June 4 – June 7, 2007.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
XML Extensible Markup Language
XML and Digital Libraries M. Zubair Department of Computer Science Old Dominion University.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
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.
Introduction to Markup David J. Birnbaum University of Pittsburgh Slavic Digital Text Workshop University.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
Introduction to XML By Manzur Ashraf (Shovon) Dept. of Computer Science & Engineering (BUET)
XML, XSL, and SOAP Building Object Systems from Documents CSC/ECE 591o Summer 2000.
Advanced Technical Writing 2006 Session #4. Today in Class… ► Meet with your editorial team, refine/post deliverables ► Send URL for deliverables to Bill.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
EXtensible Markup Language. David Turner, Product Manager, Microsoft ''The introduction of XML is in many ways like the creation of writing in the evolution.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
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 –
COP 3813 Intro to Internet Computing Prof. Roy Levow XML.
Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
Martin Kruliš by Martin Kruliš (v1.1)1.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
From XML to DAML – giving meaning to the World Wide Web Katia Sycara The Robotics Institute
April 20023CSG11 Electronic Commerce Markup languages John Wordsworth Department of Computer Science The University of Reading
CS Introduction to XML - What is XML? Extensible Markup Language, or XML for short, is a new technology for web applications. XML is a World Wide.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Advanced Technical Writing 2006 Session #3. Today in Class… ► Show-n-tell your CSS Objects from exercise 1 ► Meet with your editorial team, refine/post.
Week-9 (Lecture-1) XML DTD (Data Type Document): An XML document with correct syntax is called "Well Formed". An XML document validated against a DTD is.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
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.
XML in Web Technologies
Database Processing with XML
XML Data Introduction, Well-formed XML.
More Sample XML By Sadia Anjum.
CSE591: Data Mining by H. Liu
XML – An Introduction XML is getting a lot of attention right now, because of it leverages existing internet infrastructure and also because it enables.
Presentation transcript:

Pervasive e-commerce with XML Babak Esfandiari Carleton University Ottawa, Canada

XML introduction eXtensible Markup Language “a markup language for documents containing structured information” (Walsh) this structure is defined mainly with a set of tags subset of SGML HTML can be seen as an instance of XML (it is not really though, but that is not important…)

XML example Paris

DTD Document Type Definition Describes the XML tagset <!DOCTYPE Museum [ ]> Not mandatory (!)

XML - what for? content is independent from rendering meta-data makes search easier standard tags enable data interchange across tools format for data and object persistence, human readable and editable no need for a custom parser anymore

TourTags “The purpose of TourTags.org is to foster dialogue within the community in order to arrive at open standards for conducting electronic commerce by settling on common tag sets and methods in which they are to be used.” supports IFITT’s RMSIG

XML and TourTags derive a tagset from RMSIG specs discuss/modify the tagset use the tagset for B2B (ebXML) allow device-neutral access to business info we have a process…

The Acronym Hell Diagram our process is a series of transformations UML XMI XML/ DTD ebXML Web form XML Voice XML WML HTML meta-data registrationdocumentdisplay

Meta-data Why not directly model tags? Tags are not for modeling! Lack of a graphical notation Semantically poor: Hard to represent relationships XML can be seen as one possible mapping of a model The RMSIG has chosen UML… UML XMI XML/ DTD

Meta-data UML: Unified Modeling Language Object-oriented Graphical Covers: Requirements Static representation Activities and processes UML XMI XML/ DTD

Meta-data A UML class diagram: UML XMI XML/ DTD

Meta-data But we need the tags! Is it possible to transform UML into XML? We can use XMI XMI is the direct textual representation of UML using the XML format Most UML tools support XMI UML XMI XML/ DTD

Meta-data A sample XMI document: Museum name UML XMI XML/ DTD

Meta-data We still need to transform XMI into our XML tagset Since a DTD describes the structure of an XML document, it is the ideal target! What is the easiest way to do the concrete transformation? UML XMI XML/ DTD

Transformations Different methods: Parsing: use existing XML parsing libraries based on standard APIs (SAX, DOM) with a programming language Transformations: specify the transformations in a (yet another) XML document called an XSLT stylesheet Use an XSLT processor (Saxon, XT, …)

XSLT example (excerpt) blah

XSLT example The XSLT in the previous slide, applied on the Museum XMI, should generate something like: blah Museum blah name Nothing exciting but you get the idea!

Meta-data Some of the issues in the transformation from XMI to DTD: Ambiguity in choice of attributes and elements -> open for discussion! Inheritance: compound the inherited attributes Composition: recursively add sub- elements, or use separate documents DTDs support for primitive types is limited… XML schema an alternative UML XMI XML/ DTD

Registration The resulting DTDs can now be used for B2B e-commerce We now have a domain “ontology” to base transactions on! We can use this ontology to: Publish/advertize a business Search for a business We need a registry to enable that ebXML Web form

Registration ebXML is one of the leading consortiums for e-business It describes a standard for B2B registries Third parties (TourTags?) have the opportunity to create and host such registries To access such registries and allow publishing and search, Web forms are an intuitive front-end interface Guess what… ebXML Web form

Registration We can use the DTDs and XSLT to generate such web forms! The web forms for publishing and search are very similar Each leaf element or attribute becomes a field to fill in Better support (than DTDs) for data types would allow for a better customization of the data fields ebXML Web form Museum name:

Registration Different deployment scenarios are possible for registries: Traditional Client/server Peer to peer Decentralized Less resource intensive ebXML Web form

Document rendering The result of a registry search is an XML document that follows the structure specified by our DTD Such a document does not contain any instructions for rendering (i.e. display) This is a good thing! XML Voice XML WML HTML

Search and rendering rendering adapted to device: XML -> HTML for web browser XML -> WML for cell phones XML -> VoiceXML for regular phones Yes, we can use XSLT again! No duplication of data! No need to maintain redundant documents! XML Voice XML WML HTML

Conclusion A completely XML-based process that takes us from the inception of a domain ontology to the delivery of business info The process relies on a series of transformations

References xml.org rmsig.org tourtags.org ebxml.org It had to be on the web!