XML for Dummies (and managers) Mark Pascall Technical Architect.

Slides:



Advertisements
Similar presentations
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.
Advertisements

History Leading to XHTML
KM World 2001 XML Show & Tell Eddie O’Brien Ringtail Solutions
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
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.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
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.
XML: What, Why, When & How? Hope Greenberg Center for Teaching & Learning June 11 & 18.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Developing a Basic Web Page Posting Files on UMBC
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.
Tutorial 1: Getting Started with HTML5
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
Marco Mesiti Dep. of Computer Science University of Genova XML eXtensible Markup Language.
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)
August Chapter 1 - Introduction Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology Radford.
EAD: A Technical Introduction Julie Hardesty, Metadata Analyst June 3, 2014.
XML and XSL Institutional Web Management 2001: Organising Chaos.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
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.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
XML Basics Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Extensible Meta Language Markup Language.
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.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
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.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
XML Extensible Markup Language
CP3024 Lecture 9 XML: Extensible Markup Language.
1 Dr Alexiei Dingli XML Technologies XML. 2 XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry.
University of Nottingham School of Computer Science & Information Technology Introduction to XML 1. The XML Language Tim Brailsford.
WEB APPLICATION DEVELOPMENT For More visit:
Web Technologies COMP6115 Session 4: Adding a Database to a Web Site Dr. Paul Walcott Department of Computer Science, Mathematics and Physics University.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
An Introduction to XML Paul Donohue May 8th 2002 Hotel Senator Zürich.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
XML Basics A brief introduction to XML in general 1XML Basics.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
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 –
SCHOOL OF LIBRARY, ARCHIVE AND INFORMATION STUDIES Andy Dawson LIS1510 Library and Archives Automation Issues XML and extensible systems Andy Dawson School.
XML. HTML Before you continue you should have a basic understanding of the following: HTML HTML was designed to display data and to focus on how data.
Evaluation Biztalk Table of Contents Introduction to XML. Anatomy of an XML document. What is an XML Schema? What is SOAP? XML Web Services overview.
Introduction to XML Jussi Pohjolainen TAMK University of Applied Sciences.
1 Semantic Web Technologies for UK HE and FE Institutions: Part 1: Background to the Development of the Web Brian Kelly UK Web Focus UKOLN
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
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.
Extensible Markup Language (XML) Pat Morin COMP 2405.
XML Related Technologies
Chapter 1 HTML, XHTML, and the World Wide Web
Session I - Introduction
Session I - Introduction
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 1 HTML, XHTML, and the World Wide Web
Chapter 1 HTML, XHTML, and the World Wide Web
Presentation transcript:

XML for Dummies (and managers) Mark Pascall Technical Architect

Overview What is XML? Extensible Markup Language Many pieces in the XML puzzle Very fast moving First – back to basics…. XML Schem a SOA P Name space XML XSLT XQuery HTM L XPointer Xlink

Web Clients (Browser) Web Server How the Internet works…. Get me that text file OK here it is

Hypertext Mark-up Language Here is the title Here is the title This is a piece of Text This is a piece of Text A formatting language Browser knows how to interpret the tags.

What is Extensible Markup Language? NOT a markup language Meta-markup Language Set of very simple rules XML provides a uniform method for describing and exchanging structured data Describes structure and semantics, not formatting

FrenchEnglishGerman….. 1.Use letters of alphabet. 2.Spaces between words. 3.Read from left to write. ….. Meta Language

SVGWMLMathML….. 1.Tags must not overlap 2.Tags case-sensitive 3.Must have root tag …… XML Specification

The XML Rules…. 1. Single, unique root element 2. Matching open/close tags 3. Consistent capitalisation 4. Correctly nested elements (no overlapping elements) 5. Attribute values enclosed in quotes 6. No repeating attributes in an element 3Months.com Web Development Wakefield st Wellington New Zealand Well Formed

History of XML Standard Generalised Markup Language Been around since early 90’s XML is a sub-set of SGML (SGML-lite) XML has smaller and simpler syntax SGML’s development provides the foundation for XML XML is therefore not “bleeding edge”

Why XML is so powerful Provides international, vendor independent standard for describing information Any information – structured or unstructured TCP/IP HTTP XML

XML Markup languages/vocabularies Remember XML is a meta-language Anybody can create their own language Why would you want to? Each language designed for a specific purpose….

Mathematical Markup Language (MathML) x2 + 4x + 4 =0 <apply><plus/> x x x x 4 4 </apply>

Synchronized Multimedia Integration Language (SMIL) This appears for one second and goes away This appears for one second and goes away This appears after one second, remains visible for one second and goes away This appears after one second, remains visible for one second and goes away This appears after two seconds, remains visible for one second and goes away This appears after two seconds, remains visible for one second and goes away </DIV>

Vector Markup Language <v:path v=“m 8,65 l 72,65,92,11,112,65,174,65,122,100,142,155,92,121,42, 155,60,100 x e”/> x e”/></v:shape>

Wireless Markup Language <wml> This is the first card. This is the first card. This is the second card. This is the second card. </card></wml>

Hypertext Markup Language (HTML) The Title The Title This is a piece of HTML This is a piece of HTML Or is it?? Next version of HTML = XHTML

XML Schemas and DTDs XML is about communication Need to speak the same language Schemas/DTDs describe the vocabulary of the language i.e. what tags are used and how they can be organised Schemas will replace DTDs

An Example Schema Studend Loan Problems 20/7/01 Bla Bla Bla

Introducing XSL-T Extensible Stylesheet Language Standard ratified this year by W3C Way of transforming an XML document into another document

Transformation XML document XSLT document XSLT Processor Text HTML XML

Summary The XML Specification = Meta-language for describing XML Mark-up languages XML Schemas (and DTD’s) describe the structure of a particular XML Mark-up language XSL-T documents transform XML document into another format (HTML, XML etc)

XML in Action – a case study

Agenda Case study background Choosing a DTD/Schema Creating XML – the options Storing XML – the options Presenting XML – the options Solution Benefits Demo

Case study background October 2001 – won contract to redevelop E-government website ( Business requirements –Usual stuff (accessible, usable etc) –Guidelines compliant (squeaky clean) “Content must be made available in a standard HTML format. Where information is provided in a proprietary format an alternative HTML version must also be made available.” Can’t just put it up as a PDF anymore –Simple publishing process –Future-proofed Constraints –Limited budget –Tight timeframe

Traditional options Static site –Did not give simple publishing process for “unskilled” people Content Management System –Store information in RDBMS –Not good for “document centric” applications –Cost, timeframe, simple workflow requirements

The challenge –To create a system that allows non-technical authors to publish to guidelines compliant HTML (and eventually other formats) The solution –XML

Choosing a DTD/Schema Make up your own Don’t reinvent the wheel! Xml.org We selected a subset of DocBook –Could handle all the information we needed to store –Supported by a growing number of products NZETC uses TEI

Creating XML – the Options Use an XML editor –E.g. XML Spy, Xmetal, Framemaker etc –Allow you to create a document that conforms to a specified DTD/Schema –Problem: everybody potentially an author Convert Word documents to XML –Styles

Word (using Styles) HTML(Internet) Anything you want!! eBook DocBookXML XSL-T for convertion Word is authoritative source

Xcon Demo

Storing XML – the Options Relational database Native XML Repository –E.g. Excelon, Tamino, Ipedo, Xindice –First generation products –At the time too immature/expensive On the file system

Presenting XML – the Options Publishing to humans Need to “transform” XML to a format appropriate for humans Physical print – out of scope HTML obvious choice XSL-T to transform XML to HTML Not the only way to present to humans –SMIL, SVG, MathML etc –Audience must have software What about publishing “Raw” XML?

XML document Organisation A Website Organisation B Website HTML document Organisation C Website HTML document XML document

Demo