1 XML – an introduction David Nathan ELDP training March 2010.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

XML: Extensible Markup Language
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
© De Montfort University, XML – a meta language Howell Istance and Peter Norris School of Computing De Montfort University.
INF201 Fall2010 Intro. to Info. Technologies Department of Informatics University at Albany – SUNY Original Source: w3schools.com Prepared by Xiao Liang,
Supervised by Prof. LYU, Rung Tsong Michael Department of Computer Science & Engineering The Chinese University of Hong Kong Prepared by: Chan Pik Wah,
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
A Practical Introduction to XML in Libraries Marty Kurth NYLA October 22, 2004.
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.
CS 898N – Advanced World Wide Web Technologies Lecture 22: Applying XML Chin-Chih Chang
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
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.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
What is XML? XML stands for EXtensible Markup Language
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
HTML Structure & syntax
XML Extensible Markup Language. What is XML? An infrastructure for describing text and data Developed by W3C(the World Wide Web Consortium)
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.
1 XML: an introduction David Nathan. 2 XML  an in-line markup system  single sequence of plain text only (but can be unicode)  equivalent to a tree.
 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,
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.
Data Management David Nathan & Peter Austin & Robert Munro.
SENG 422 Lab 5 An Introduction to XML Time: ELW B220 from (4:00 - 6:50) every Tuesday TA: Philip Baback Alipour Ph.D. Candidate in Electrical, Computer.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
Content and Computer Platforms Week 3. Today’s goals Obtaining, describing, indexing content –XML –Metadata Preparing for the installation of Dspace –Computers.
How do I use HTML and XML to present information?.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
XML – An Introduction Structured Data Mark-up James McCartney CSCE 590, Cluster and Grid Computing.
Introduction to HTML Wah Yan College (Hong Kong) Mr. Li C.P.
CP3024 Lecture 9 XML: Extensible Markup Language.
1 Using XML. 2 The Ticket Booth System We need a way to retain information between program runs. In real life, we would probably use a database system.
HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a.
WEB APPLICATION DEVELOPMENT For More visit:
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.
R. Addie & S. Dekeyser XML for M&C / USQ ? What ? Why ? How ? When ?
XML : a brief introduction Managing networks : understanding new technologies, Birmingham, 13 September 2001 Pete Johnston UKOLN, University of Bath Bath,
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
ISO/TC 211 WG4 WI 18 Encoding Foil no. 1 Annex C XML and XMI David Skogan SINTEF Telecom and Informatics
An Introduction to XML Sandeep Bhattaram
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
What it is and how it works
XML D Nathan Intro and formalism. Roots  A computer is not a typewriter electronic texts are more than sequences of characters they have structure, and.
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.
Unit 10 Schema Data Processing. Key Concepts XML fundamentals XML document format Document declaration XML elements and attributes Parsing Reserved characters.
Introduction to HTML YLLSS - S3. HTML HyperText Markup Language It uses tags( 標籤 ) to markup a web page A tag is like a label, it is used to present its.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
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.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
The idea of adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Extensible Markup Language
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
HTML is about making documents. Simple Code for Simple Layout My Document This is an example HTML document First paragraph Second paragraph This is the.
INP150: Basic HTML Instructor: Paul J. Millis
XML.
What is XML?.
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Presentation transcript:

1 XML – an introduction David Nathan ELDP training March 2010

2 XML  an in-line markup system  single sequence of plain text only (but can be unicode)  equivalent to a tree structure  consists of elements and content  elements: tag syntax  entities syntax  reserved characters & " ‘

3 XML syntax  structures are defined by tags in angle brackets: eg:  tags are usually in pairs:  a start/open tag, and an end/close tag: the dog chased...  but can also be single and closed: the dog sat down

4 XML syntax  tags can have attributes with values : the dog sat down  you can name your tags, attributes or values (almost) anything  there are some restrictions:  you can have hierarchies, but not overlaps: the cat sat on the mat

5 XML is used to add knowledge...  add knowledge to content:  usually structures and labels  add the knowledge that’s relevant to your domain or task  knowledge priorities:  what’s required  what’s visually represented (eg by format/layout)  what’s implicit

6 Compare to HTML ... the man who really liked the book The Lawyer Who Lost, about habeas corpus...  in HTML:... the man who really liked the book The Lawyer Who Lost, about habeas corpus...  in XML, we can define our own elements that focus on logical structure rather than visial format

7 Compare to HTML  XML:  is flexible and extensible  must be well-formed  can be validated  is application-, platform-, and vendor- independent  is machine readable (ie parsable, or understandable by computer programs)

8 An example

9... in XML The Guardian July 1, 1997 Andrew Higgins in Hong Kong A last hurrah and an empire closes down With a clenched-jaw nod from the Prince of Wales, a last rendition of God Save the Queen, and a wind machine to keep the Union flag flying for a final 16 minutes of indoor pomp...

10 Where does XML come from?  write “raw” XML (we will do this)  XML editors  generated, eg from databases, programs

11 What is XML used for?  any symbolic data  data exchange  data transformation  structure  format  content

12 Why do I need to know about it?  you already consume a lot of XML!  many linguistic software tools (eg ELAN) use XML as data format  XML is very powerful and flexible, especially for certain tasks, and for archiving  XML is an ISO standard  XML is growing in use and support!  XML is easy!

13 XML exercise 1 1.identify times and names, code these as XML 2.draw as a tree structure THEN 1.add more information to your XML as attributes 2.draw a tree structure again James departed from Manilla on Wednesday 11 May and arrived in Boston on Thursday 12 May.

14 XML exercise 2 1.draw a simple linguistic tree structure 2.represent it as XML

15 Congratulations  you have now taken your first steps in XML