Introduction to XML Week 8 – Lecture 1. Generalized Markup Language 80’s90’s 60’s Toda y 86’ SGML 89’ HTML 98’ XML ebXML XBRL RosettaNet etc. XML is a.

Slides:



Advertisements
Similar presentations
XML - Beyond the Hype Everything you must know to succeed in implementing XML Lisa Shreve - Syscom Strategies Mike Rawlins - Rawlins EDI Consulting.
Advertisements

CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Delivering textual resources. Overview Getting the text ready – decisions & costs Structures for delivery Full text Marked-up Image and text Indexed How.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
XSLT (eXtensible Stylesheet Language Transformation) 1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 24.
XML for Information Management – Day 2 Airi Salminen University of Erlangen-Nuremberg Computational Linguistics Instructor: Professor Airi Salminen
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.
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
XML Prashant Karmarkar Brendan Nolan Alexander Roda.
CS155b: E-Commerce Lecture 10: Feb. 13, 2003 XML and its relationship to B2B commerce Acknowledgements: R. Glushko, A. Gregory, and V. Ramachandran.
Integration case study Week 8 – Lecture 1. Enrolment request (Workstation) Application server Database server Database New University Student Record System.
System Integration (Cont.) Week 7 – Lecture 2. Approaches Information transfer –Interface –Database replication –Data federation Business process integration.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introduce of XML Xiaoling Song CS157A. What is XML? XML stands for EXtensible Markup Language XML stands for EXtensible Markup Language XML is a markup.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
XML – Extensible Markup Language XML eXtensible – add to language. Markup – delimit info using tags. Language – a way to express info.
XML. Markup Languages u What does this number (100) mean? –Actually, it’s just a string of characters! –A markup language can be used to distinguish this.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Pervasive e-commerce with XML Babak Esfandiari Carleton University Ottawa, Canada.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
IT420: Database Management and Organization XML 21 April 2006 Adina Crăiniceanu
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,
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
XML and Web Services November 21, 2005 Leo Putra Mardjuki Christopher William Lee Corey Fung Chan.
XML Extensible Markup Language. Markup Languages u What does this number (100) mean? –Actually, it’s just a string of characters! –A markup language can.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
EXtensible Markup Language (XML) and Documentation --ManojBokil -- Manoj Bokil.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
10/18/2015 NORTEL NETWORKS CONFIDENTIAL – FOR TRAINING PURPOSES ONLY Global Documentation Evolution System Overview and End-to-End Process Training.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
Future directions Chip Casanave Data Access Worldwide Miami, Florida.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
Advanced Technical Writing 2006 Session #4. Today in Class… ► Meet with your editorial team, refine/post deliverables ► Send URL for deliverables to Bill.
Introduction to Markup Languages January 31, 2002.
© 2006 Altova GmbH. All Rights Reserved. Altova ® Product Line Overview.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
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 –
Accessing XML Documents Using DOM ©NIITeXtensible Markup Language/Lesson 8/Slide 1 of 23 Objectives In this lesson, you will learn to: * Use XML DOM objects.
Martin Kruliš by Martin Kruliš (v1.1)1.
 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.
Connecting to External Data. Financial data can be obtained from a number of different data sources.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
© 2005 KPIT Cummins Infosystems Limited We value our relationship XML Publisher Prafulla Kauthalkar RJTSB – Oracle Apps Consultant We value our relationship.
XML QUESTIONS AND ANSWERS
Software Design and Architecture
XML in Web Technologies
Database Processing with XML
eXtensible Markup Language
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Lecture 1: Multi-tier Architecture Overview
CSE591: Data Mining by H. Liu
Presentation transcript:

Introduction to XML Week 8 – Lecture 1

Generalized Markup Language 80’s90’s 60’s Toda y 86’ SGML 89’ HTML 98’ XML ebXML XBRL RosettaNet etc. XML is a simplified markup language to facilitate the exchange of information: providing both format and content A group of standards (XML, XSL, XML Schema) Is different to HTML which is a presentation language which provides no semantic information. Accenture 2001

In HTML P266 Laptop Friendly Computer Shop $1438 In XML P266 Laptop Friendly Computer Shop $1438 Both of these may look similar in your browser, but HTML tells how the data should look, while XML tells you its structure. With XML, your browser knows there is a product, and it knows the model, dealer, and price. From a group of these it could show you the cheapest product or closest dealer without going back to the server. Comparing HTML and XML p = paragraph h1 = heading level 1 br = line break

XML is expected to: Revolutionise electronic publishing by allowing for a better indexing of data and the separation of content information from display information Improve business communication by facilitating the definition and sharing of common XML formats or vocabularies as well as the transformation of differing XML formats Help facilitate the adoption of eCommerce and as content will be displayed not only on desktop web browsers, but also PDAs, cellular telephones, and whatever other devices the future may bring us Accomplish all of the above items in a simpler and more maintainable way Accenture 2001

Document types An Instance of an XML record A XML schema (XSD) or Document Type Definition (DTD) eXtensible Stylesheet Language – XSL XSL Transformation (XSLT) is the language for transforming content only XML documents into alternate formats. Once processed by the XSL stylesheet processor, the result may be a new XML document or any other text-based document such as HTML XSL Formatting Objects (XSL-FO) specification is the language for specifying presentation of page content. This is possible via use of an extensive vocabulary allowing the detailed specification of things like pagination, layout, and styling information.

XML Document Instance Order 1

The schema defines the structure of the document The schema consists of a schema element and a variety of sub elements which can be of complexType or simpleType Elements which contain sub elements or carry attributes are said to be complex Elements which contain numbers, strings, dates, etc are said to be simple Simple elements can have rules attached to them such as constraints (e.g., length, permissible values, etc)

XML Schema Order 1

Big Monitor Instance: Schema for item: Schema for serialTypes:

How do we know this is in the “right” format? The sender and receiver need to work off a common schema or DTD

An XML document can be transformed into another XML document HTML document

XML Document Instance Order 2

XML Schema Order 2

XSL Transform Order 1 -> Order 2

Enrolment process Database server Database (Oracle) Database (Sybase) Marking system BIT add ISYS2007 Connector Remember the last solution from yesterday? We will now look at the connectors in more detail.

SQL extracts change from the log tables Enrolment Database Schema For interface file Process the extract data with the schema, to create an XML file Publish the XML file of change data Parse the change file with the schema to ensure it is well formed Transform the data Into the required format using XSLT Schema of required file format Process changes to Marking system IT School marking database Network

XSL Transform Order 1 -> HTML

Industry groups are developing their own schemas XBRL – Business Reporting Language Rosetta Net ebXML These allow data to be transferred across organisation boundaries

Traditional Responses Across Organisations Interfaces EDI or Custom “standard” (e.g. integrion, SWIFT) Reinventing “interchange data structures” Validation of data passed built into each “receiving” application Data structure changes require massive rebuild & retest Problems with today’s approach Difficulties to get people to agree Difficulties to get participants to agree on technical platforms and associated costs (e.g. MQ Series, other EAI tools, etc) Standards (e.g. EDIFACT) are inadequate for industry solutions so require customisation Administration of change across organisations

XML Response to the Problem Solutions Low cost mechanism which is easy to agree on Proliferation of industry bodies to define industry schema (Accord, FiXML,CML, etc) Interchange data semantics & validation rules ubiquitously available Data can be validated by the schema before information is accepted, removing the need for each receiving application to re code validations Ready availability of skills in the marketplace XML parsers & other tools available in most languages and on most platforms Ease of data transformation to adapt to needs of sending/receiving application data structures Reduced need for “big bang” synchronisation of change associated with new data structures Shortfalls/Challenges Performance concerns (verbose) Many XML standards (DirXML, UDDI, etc) Relatively young toolset

XML Distributes the Transformation Workload The XML approach also helps multiple applications share in common data on an “information backbone” A B C D hub xform A - C xform A - B A B C D Info Bus xform A - bus xform bus - B xform bus - c Hub and SpokeInformation Bus

Multi Device Delivery - the business problem… Key Issues Separation of business application logic from presentation; Personalisation of presentation (client specifics) Minimise duplication of logic such as presentation & validation Multi language delivery The migration towards server based computing and uptake of multiple mobile devices is fuelling the need to deliver business functionality to multiple channels/devices (PDA, mobiles, etc), tailored to the attributes of that device. Generic solution This problem is usually addressed by dividing up the solution into components, each with specific responsibilities

Traditional Responses to Multi Device Delivery Solution Layer a new delivery solution for each channel/device Maintain single “application” instance Typically multiple vendors’ software required to deliver end-end solution Problems with this approach Cost & complexity (effort & infrastructure) Duplication of logic/effort Typically multiple people required to maintain individual pieces because of specialisation

XML Response to the Problem Solutions Single channel/device processing infrastructure Use XSL-FO to transform the XML document into the target format for presentaion Generally the functions available under MSXML or JAXP Shortfalls/Challenges Limits your ability to cache data at client Practicality of “write once/display many times” with usability differences between platforms Still have to develop multple XSL transformations