4/8/99 C. Edward Chow Page 1 XML Edward Chow Some of the presentation material is adapted from articles at xml.com by Norman Walsh and Tim Bray.Norman.

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

Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
1 © Netskills Quality Internet Training, University of Newcastle XML.
SGML and XML Text Encoding and Markup Languages Michael Popham
History Leading to XHTML
4/8/99 C. Edward Chow Page 1 XML Edward Chow Some of the presentation material is adapted from tutorial at msdn.microsoft.com/xml and articles at xml.com.
XML: Extensible Markup Language BA Presented by: Tara Barnes, Lauren Jones, Ryan Kline.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
1 XML and QUERY Shilpi Ahuja CSE Data Mining 4 th April 2002.
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.
Tutorial 11 Creating XML Document
XML Vikki Brandon Jesse Josh. Quick Facts Who created it? –W3C Jon Bosak and Tim Bray as leaders and major contributors When? –Started in 1996 and finished.
5-1 Facilitating Business over the Internet: The XML language CR (2004) Prentice Hall, Inc. The xml goals The main objects of xml: Diagrams: Blocks and.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Developing a Basic Web Page with HTML
Developing a Basic Web Page Posting Files on UMBC
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
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.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
XML and friends Part 1 - XML and DTD ELAG 2001 workshop 8 Jan Erik Kofoed © BIBSYS Library Automation.
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
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.
XML What is XML? XML v.s. HTML XML Components Well-formed and Valid Document Type Definition (DTD) Extensible Style Language (XSL) SAX and DOM.
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language)  XML is a markup language for creating documents containing structured information.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
XML - Why: The HTML-Dilemma HTML, SGML, XML - How: Syntax, Concept, Language Elements Basics Well-formed XML-Documents (without DTD) Valid XML-Documents.
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.
Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
XML Extensible Markup Language
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language  XML is a markup language for creating documents containing structured information.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
CP3024 Lecture 9 XML: Extensible Markup Language.
XML Extensible Markup Language Aleksandar Bogdanovski Programing Enviroment LABoratory
XML Overview / Schema / DOM Brent P. Christie Major USMC.
XML The “E-Lance Economy” or “Digital Economy” is a new challenge for interacting over networks. XML was developed by the World Wide Web Consortium (W3C)
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.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
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.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
The Synchronized Multimedia Integration Language (SMIL) Kuo-Hao Li.
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 –
When we create.rtf document apart from saving the actual info the tool saves additional info like start of a paragraph, bold, size of the font.. Etc. This.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
Games: XML Presented by: Idham bin Mat Desa Mohd Sharizal bin Hamzah Mohd Radzuan bin Mohd Shaari Shukor bin Nordin.
Introduction to Informatics - Fall 02 I.What is XML? XML and HTML Where does it fit in with other markup languages? II. How does it work? Your own private.
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
Linked Data & Semantic Web Technology The Semantic Web Part 2. XML Dr. Myungjin Lee.
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.
Markup Languages Gilok Choi 9/17/2018
Session I - Introduction
Session I - Introduction
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Creating an XML Document
CSE591: Data Mining by H. Liu
Allyson Falkner Spokane County ISD
Presentation transcript:

4/8/99 C. Edward Chow Page 1 XML Edward Chow Some of the presentation material is adapted from articles at xml.com by Norman Walsh and Tim Bray.Norman Walsh Tim Bray Code and information provided by Tim Bray of Texturality on a XML-HTML converter and John Bower of Microsoft on VML are greatly appreciated.

4/8/99 C. Edward Chow Page 2 XML: eXtensible Markup Language A markup language for “richly” structured documents. Structure documents with content info, and structural info. Markups (tags) are used to specify the structural info. It was approved as a W3C recommendation in 2/10/98. It was used as a meta language to specify other markup languages, called XML applications. The list of XML applications grows fast: –SMIL (Synchronized Multimedia Integration Language) –MathML (Math Markup Language) –VML (Vector Graphic Markup Language) –E-commerce transactions, Server API, …

4/8/99 C. Edward Chow Page 3 A SMIL XML Document <audio src="audio/vodpaper.ra" id="Soundtrack 2" title="Soundtrack 2" begin="2s" end="8s" /> <video src="file:///d:/uccs/cs525/doc/videof/uccs.avi" id="videoclip 1" title="video clip 1" /> <audio src="audio/kissingcamel.ra" id="Soundtrack 3" title="kissingcamel" begin="id(Soundtrack 1)(end)"/>

4/8/99 C. Edward Chow Page 4 MathML For (a + b) 2 a + b 2

4/8/99 C. Edward Chow Page 5 VML v\:* {behavior:url(#default#VML);} <v:shape style='top: 0; left: 0; width: 250; height: 250' stroke="true" strokecolor="red" strokeweight="2" fill="true" fillcolor="green" coordorigin="0 0" coordsize=" "> <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"/>

4/8/99 C. Edward Chow Page 6 How XML is used XML SMILMathMLVML XML applications (Languages) Specify XML (Parser) Processor (Specific) Application XML Document XML capable Server/Client Text editor Perl Scripts XML editor

4/8/99 C. Edward Chow Page 7 XML vs. HTML The tag semantics and tag set are “rather” fixed. With CSS1 you can create your own tags. The standard body adds and depreciates tags slowly. XML specifies neither semantics nor tag set. It is a meta-language for describing markup language, i.e., define tag set. The semantics of an XML document will either be defined by the applications process them or by the stylesheet.

4/8/99 C. Edward Chow Page 8 XML vs. SGML XML is a restrict form (application profile) of Standard Generalized Markup Language (SGML). The syntax of XML specified as Extended Backup-Naur Form (EBNF). Modern compiler technique makes the parsing of EBNF-based XML documents fast. The full blown SGML syntax is much more complex and a parser can not be easily made and SGML documents take longer time to process.

4/8/99 C. Edward Chow Page 9 XML Development Goals View XML documents quick and easy as HTML documents. Support wide-variety of applications: authoring, browsing, content analysis,… Compatible with SGML, allow easy conversion of SGML documents to XML. Easy to write programs that process XML documents. (2 weeks for CS graduate). Option features keep to minimum or zero. XML documents should be human-legible and reasonable clear. View with text editor.

4/8/99 C. Edward Chow Page 10 XML Development Goals (2) XML design can be prepare quickly. XML design shall be formal and concise  must be expressed in EBNF, amendable to modern compiler tools and techniques. XML document shall be easy to create. Terseness in XML markup is not (minimal) important.

4/8/99 C. Edward Chow Page 11 How is XML Defined? Extensible Markup Language (XML) 1.0 SpecificationExtensible Markup Language (XML) 1.0 Specification 10 February 1998, Tim Bray, Jean Paoli, C. M. Sperberg-McQueen. XML Linking Language (XLink) 3 March 1998, Eve Maler, Steve DeRose XML Pointer Language (XPointer) 3 March 1998, Eve Maler, Steve DeRose Extensible Stylesheet Language (XSL) 16 December 1998, James Clark, Stephen Deach Namespaces in XML 14 January 1999, Tim Bray, Dave Hollander,Andrew Layman

4/8/99 C. Edward Chow Page 12 A Simple XML Document <? For processing instruction Say goodnight Gracie. Goodnight, Gracie. /> for empty element which does not have end-tag

4/8/99 C. Edward Chow Page 13 Embed HTML in XML --> <article xmlns=" xmlns:html="any-old-bollocks" > Test XML, name space, HMTL tag It seems to be critical to include < ?xml-stylesheet href="first-x.css" type="text/css" ?> Otherwise it won't work. The following is the demonstration of < html:ul> and < html:li> tags. What is XML How to create it

4/8/99 C. Edward Chow Page 14 Six Types of Markups in XML Elements: begin with start tag, ends with end-tag Entity references: speicial characters, repeated text, external file content Comments: Processing Instructions: to be pass to application. Marked (CDATA) Sections: transparent text What if we have ]]> as part of the text? Document Type Declarations