XML and SVG from PQL By Dave Doulton Computing Services University of Southampton.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
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.
An Introduction to XML Based on the W3C XML Recommendations.
XSL XSLT and XPath 11-Apr-17.
© De Montfort University, XML – a meta language Howell Istance and Peter Norris School of Computing De Montfort University.
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.
Extensible Stylesheet Language (XSL) By Example Tony Wat 9 October 2002.
Project 1 Introduction to HTML.
XHTML 16-Apr-17.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
XML CS 105. What is XML? XML stands for Extensible Markup Language. XML is a markup language like HTML. XML was designed to describe data. You must define.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
XML Technologies XML Basics  What is XML?  Why use XML?  How to write XML? 1XML Technologies David Raponi.
XML October 24, Unit 6. What is XML? Stands for eXtensible Markup Language It is a markup language, like HTML But, –XML is designed to markup data –HTML.
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.
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.
Web Design Basic Concepts.
Basics of HTML.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
Jason G. Caudill Assistant Professor of Business Administration Carson-Newman College.
ColdFusion’s XML Capabilities Maryland CFUG April 12, 2005 Presented by Doug Ward.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
NetTech Solutions Working with Web Elements Lesson 6.
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 Extensible Markup Language. What is XML? An infrastructure for describing text and data Developed by W3C(the World Wide Web Consortium)
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation An Introduction to XML.
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.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
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 Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
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.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Jennifer Widom XML Data Introduction, Well-formed XML.
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.
14/05/2003Christiane Schmidt1 XML – application A presentation about different examples of use.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Dave Salinas. What is XML? XML stands for eXtensible Markup Language Markup language, like HTML HTML was designed to display data, whereas XML was designed.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
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)
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
XML Extensible Markup Language
SVG technology SVG technology is what we want? is what we want? Jaehoon Woo KNU Real-Time Systems Lab. KNU Real-Time Systems Lab.
Beyond HTML: Extensible Markup Language (XML)
Project 1 Introduction to HTML.
XML Related Technologies
Chapter 1 Introduction to HTML.
Microsoft Office Illustrated
The XML Language.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
XML Data Introduction, Well-formed XML.
More Sample XML By Sadia Anjum.
Training & Development
CS 240 – Advanced Programming Concepts
Allyson Falkner Spokane County ISD
Presentation transcript:

XML and SVG from PQL By Dave Doulton Computing Services University of Southampton

XML and SVG This presentation only covers a very small but usable subset of what can be done with XML and SVG. Further details available from Professional XML 2 nd Edition (Wrox) 1267 pages.

Outline What is XML? What use is it? How do I generate it? What is SVG? How do I generate it?

What is XML XML is eXtensible Markup Language It is a way of marking up data to impose some structure. It is hierarchical in nature and uses tags similar to HTML

What is XML Basically data is divided up in a tree structure with tags defining the levels in the tree. There must be one root to the tree. An example of an outline tree for the company database would be

Example XML

Where does the data go? Each of the sub levels can have attributes or further sublevels. Each sublevel must be uniquely named or have a unique set of attributes. So for the case level there must be an attribute as there is more than 1 case.

Example data John D Jones 1 …. Etc

An alternative

An alternative if there is no data between tags, the opening tag can be closed with a /> instead

What use is it? It is an advancement on other data interchange methods as there are no problems associated with parsing it. With comma delimited there are problems with commas and quotes in the data and also with missing columns.

What use is it? Due to the syntax the only problems can be with & ‘ and “ These are replaced in data with > < & &apos; and " All data is treated as text.

What use is it? Given the scope of the syntax there are more and more tools becoming available to use XML. So it becomes a natural means for exporting and importing data between programs. As we shall see even between SIR and the web browser and plugins in the web browser.

What use is it? To use it effectively there needs to be something to read it and manipulate it. One such application is XSL (eXtensible Style Language) Another is SVG (Scalable Vector Graphics)

What use is it? See Some of the content is an example from Microsoft ™ of varying the style for the same content.

How do I generate it? To generate XML you basically just write text to a file. However there is the need for some extra XML to state that the content is XML. In PQL there is the added problem of XML looking like global variables.

How do I generate it? A simple way to generate it in PQL is to write the start and end of the tag separately Write ‘ ’ Or write [‘ ’]

What is SVG? SVG is Scalable Vector Graphics. It is an xml document that contains data that is a set of drawing instructions. When viewed with an svgviewer plugin it produces scalable drawings. These can be text, graphs or diagrams.

What is SVG? It can also be used with CSS or cascading style sheets to control aspects of the display. See Get the SVG plugin from

Conclusion XML and SVG are relatively easy to use. They allow useful data display and/or transfer capabilities. Well worth investigating.