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.

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,
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
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.
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.
Tutorial 11 Creating XML Document
XML Primer. 2 History: SGML vs. HTML vs. XML SGML (1960) XML(1996) HTML(1990) XHTML(2000)
Introduction to XML: Yong Choi CSU Bakersfield.
The Basic Tools Presented by: Robert E., & Jonathan Chase.
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
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.
Unit-2 Introduction to HTML PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE WEB APPLICATION.
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 ELDP training March 2010.
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.
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.
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 ?
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.
XML Basics A brief introduction to XML in general 1XML Basics.
The Semistructured-Data Model Programming Languages for XML Spring 2011 Instructor: Hassan Khosravi.
Unit 10 Schema Data Processing. Key Concepts XML fundamentals XML document format Document declaration XML elements and attributes Parsing Reserved characters.
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 - eXtensible Markup Language Who Am I? Name: Jared Rypka-Hauer Owner: Continuum Media Group, LLC Adobe Community Expert – ColdFusion 9 years ColdFusion.
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.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Google maps engine and language presentation Ibrahim Motala.
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.
Introduction to XML SSE 3200 Web-based Services Michigan Technological University Nilufer Onder.
XML.
What is XML?.
Test Your Tech Blogging is: Someone's online journal.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Presentation transcript:

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 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 Where does XML come from?  write “raw” XML (we will do this)  XML editors  generated, eg from databases, programs

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

10 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!

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

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

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