XML: Styling and Transformation Dr Andy Evans. Multiple views Nice thing is that this data can be styled in lots of different ways using stylesheets.

Slides:



Advertisements
Similar presentations
Chungnam National University DataBase System Lab
Advertisements

Copyright © 1999, Architag International Corporation. All rights reserved. Use without express written permission from Architag International Corporation.
Transforming XML XMLNamespaces, XSLT. XML Namespaces Sometimes it is necessary to mix XML elements –Different types of content –Use of markup to convey.
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
Forest Markup / Metadata Language FML
CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
XML: Extensible Markup Language
Multimedia and weBLOGging Grade 7-9 | Cahaya Bangsa Classical School (C) 2010 Digital Media Production Facility 06 – Blog HTML Basic.
XML: text format Dr Andy Evans. Text-based data formats As data space has become cheaper, people have moved away from binary data formats. Text easier.
Lecture # 11 JavaScript Graphics. Scalable Vector Graphics (SVG) Scalable Vector Graphics (SVG), as the name implies, are - scalable (without pixelation):
Introduction to WSDL presented by Xiang Fu. Source WSDL 1.1 specification WSDL 1.1 specification – WSDL 1.2 working draft WSDL.
17 Apr 2002 XML Namespaces Andy Clark. The Problem Documents use different vocabularies – Example 1: CD music collection – Example 2: online order transaction.
 2001 Prentice Hall, Inc. All rights reserved. 1.
CIS 375—Web App Dev II SOAP.
XML Technology in E-Commerce
XML & Data Structures for the Internet Yingcai Xiao.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
XML Workshop XSLT. XML Tagged data Hello A really interesting course, well taught Interchange of data RSS, BPEL4WS, RossettaNet … Structure document representation.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
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.
Programming for Geographical Information Analysis: Advanced Skills Lecture 6: XML Dr Andy Evans.
XSL Transformations Transforming XML document into other (XML) documents 1XSL Transformations.
17 Apr 2002 XML Stylesheets Andy Clark. What Is It? Extensible Stylesheet Language (XSL) Language for document transformation – Transformation (XSLT)
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
ColdFusion’s XML Capabilities Maryland CFUG April 12, 2005 Presented by Doug Ward.
XML D EMYSTIFIED Presented By Carl-Erik Svensson.
XML eXtensible Markup Language w3c standard Why? Store and transport data Easy data exchange Create more languages WSDL (Web Service Description Language)
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
Session II Chapter 2 – Chapter 2 – XSLhttp://
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
 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,
XML TUTORIAL Portions from w3 schools By Dr. John Abraham.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Windows Presentation Foundation (WPF) Chapter 16 Dr. Abraham.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
XML Basics A brief introduction to XML in general 1XML Basics.
CHAPTER 15 WPF Windows Presentation Foundation Dr. John Abraham Professor, UTPA.
Using XML to store Descriptive Metadata Richard Murphy Rosarie O’Riordan Central Statistics Office Ireland.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
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 –
COP 3813 Intro to Internet Computing Prof. Roy Levow XML.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
SCHOOL OF LIBRARY, ARCHIVE AND INFORMATION STUDIES Andy Dawson LIS1510 Library and Archives Automation Issues XML and extensible systems Andy Dawson School.
 XSL – Extensible Style Sheet Language  XSLT – XSL Transformations › Used to transform XML documents to other formats,like HTML or other XML documents.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
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.
XML for Scientific Applications Marlon Pierce ERDC Tutorial August
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
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.
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.
XML: Extensible Markup Language
XML Related Technologies
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
Presentation transcript:

XML: Styling and Transformation Dr Andy Evans

Multiple views Nice thing is that this data can be styled in lots of different ways using stylesheets. To write these, we use the XSL (eXtensible Stylesheet Language). This has several parts, two of which are XSLT (XSL Transformations) and XPath.

XPath Allows you to navigate around a document. For example: " /. " : root of the document. " : an attribute. " // " : all elements like this in the XML. /.p/h2 – all 2 nd -level headers in paragraphs in the root /.p/h2[3] – 3 rd 2 nd -level header in paragraphs in the root //p/h2 – all 2 nd -level headers in any paragraph. - all 2 nd -level headers in any paragraph where id=titleheader. Numerous build-in functions for string, boolean, and number operations.

XSLT Polygons : Converts XML to HTML.

Linking to XSLT <map xmlns:xsi=" instance" xsi:schemaLocation=" map3.xsd" > 100, , , , ,100

Views As XML As HTML

SVG Scalable Vector Graphics <xsl:stylesheet version="1.0" xmlns:xsl="

SVG SVG View All the same data, just different view. GML to XML and SVG: Maria, S. and Tsoulos, L (2003) A holistic Approach of Map Composition Utilizing XML Proceedings of SVG Open 2003 Vancouver, Canada - July 13-18, 2003.

Tools for writing XML Notepad++ will recognise it, but not check it. XML Notepad: Eclipse

Further information XML: Schema Styling:

Key XML GML Simple Object Access Protocol (SOAP) (Web service messaging using HTTP – see also Web Services Description Language (WSDL)) Really Simple Syndication (RSS)

Problems Data types are defined by the schema in an ontology: how objects fit into a knowledge framework. Top-down approach. Someone, somewhere defines the ontology and everyone uses it. Can transform between ontologies, but, again, top-down. How do we negotiate different understandings? Compare with folksonomies developed by crowd-tagging.