XML is a set of rules for building markup languages. It is not just glorified HTML or only for the internet. XML is a family of technologies that can do.

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)
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
XSL XSLT and XPath 11-Apr-17.
Information Retrieval in Practice
XML Study-Session: Part IV Transforming XML Documents Copyright Quddus Chong 2001.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
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.
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
HTML, XML, PDF Pros and Cons.
Overview of Search Engines
Technical Track Session XML Techie Tools Tim Bornholt.
Copyright © 2002 ProsoftTraining. All rights reserved. XML Document Design.
Aalborg University – Department of Production XML Extensible Markup Language Kaj A. Jørgensen Aalborg University, Department of Production XML – Extensible.
By: Shawn Li. OUTLINE XML Definition HTML vs. XML Advantage of XML Facts Utilization SAX Definition DOM Definition History Comparison between SAX and.
XML Fundementals XML vs.. HTML XML vs.. HTML XML Document (elements vs. attributes) XML Document (elements vs. attributes) XML and RDBMS XML and RDBMS.
XML – Extensible Markup Language Sivakumar Kuttuva & Janusz Zalewski.
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
Creating a Basic Web Page
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
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.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
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.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:
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.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
Intro to XML Originally Presented by Clifford Lemoine Modified by Box.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter X IXXXXXXXXXX XXXXXX.
Transforming Documents „a how-to of transforming xml documents“ Lecture on Walter Kriha.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XML Extensible Markup Language
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
Ontologies and Lexical Semantic Networks, Their Editing and Browsing Pavel Smrž and Martin Povolný Faculty of Informatics,
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
DITA Single Source technology. What is Single Source? Single source technology is a concept of publishing documents when same content can be used in different.
Embedded XML Documentation for Fortran 90 and C/C++ Brett N. DiFrischia RS Information Systems NOAA | GFDL.
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.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
XML Steve Fisher/RAL. 20 October 2000XML - Steve Fisher/RAL2 Warning Information may not be all completely up to date.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
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.
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 –
1 Introduction JAXP. Objectives  XML Parser  Parsing and Parsers  JAXP interfaces  Workshops 2.
©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.
XML Tools (Chapter 4 of XML Book). What tools are needed for a complete XML application? n Fundamental components n Web infrasructure n XML development.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
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.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
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 Related Technologies
XML in Web Technologies
Database Processing with XML
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Presentation transcript:

XML is a set of rules for building markup languages. It is not just glorified HTML or only for the internet. XML is a family of technologies that can do everything from formatting documents to filtering data. XML is a philosophy for information handling that seeks to maximize usefulness and flexibility of data by refining it to its purest and most structured form. Characterizing XML

XML to Formatted Presentation (HTML, PDF, user created format, etc.) Combining what we wanted to previously keep separate; markup and style. Why? –Author can concentrate on meaning –Designer can concentrate on appearance –More options for presentation XML – A Family of Technologies

DocBook – a markup language (DTD) for technical documentation of computer hardware and software. Consists of several hundred elements. Elements include,,,, XML Application – DocBook

prevents a user from creating an image to hold data which cannot be searched. Papers would be easier to write! Each publisher could still use their own display format (different CSSs or XML Schemas) and users only need to worry about content. Searching for scientific papers on a topic would be easier and faster. –Search methods not possible now could be done. –Can search by element instead of just by keyword. –Can have more complex querying* DocBook vs. Word Processor

XML Application – a markup language derived from XML rules (e.g. DocBook) XML Software applications – set of components, each performing a crucial step on an assembly line (XML processors) XML Tools – commercially available programs that help a user work with XML XML Applications and Tools

Set of components, each performing a crucial step on an assembly line: 1. Parser – translate XML markup and data into tokens 2. Event Switcher – routes tokens to event handling routines (CSS) 3. Tree Representation – a tree structure is built if more complicated processing of an XML document is needed a. Simple – hierarchy of nodes b. Object Model – each node represented as an object 4. Tree Processor -traverses a tree so operations can be done on the tree model -validity checker to a full transformation engine XML Processors

Editing and Composition Electronic Delivery Control Information and Development Conversion Document Storage and Management Parsers and Engines XML Software Applications

XML has a lot of different parts and at first seems to be very complex. Each part by itself is simple. There is no need to be an expert in all of XML to be able to use it productively. XML Software Applications

Editing and composition (Tools for interactive creation, modification and composition of XML documents.) –XML Editors Text – emacs, vi Graphical – HTML-Kit, etc. Electronic delivery (Tools for electronic delivery and display of XML documents) –XML Browsers Amaya (W3C) - HTML/XHTML browser/editor w/CSS and XLinks support InDelv XML Client – XSLT style sheets for display, supports XPath and XPointer IE5.5 – displays XML with CSS or XSLT Mozilla(Netscape) – displays XML with CSS IBM Alphaworks – DTD aware XML Software Applications

Control information and development (Tools for creating, modifying and documenting DTDs, XSL style sheets etc.) –CSS Editors/DTD Editors (similar to XML editors – some overlap) –DTD Documenters LiveDTD - parses XML DTDs and generates documentation HTML files from the DTDs with cross-links to element and parameter entity definitions. –DTD Generators Data Descriptors by Example - automatically generate an XML DTD or schema from a set of document instances. *Rhythmyx XSpLit - claims to be able to automatically generate an XML DTD and an XSLT style sheet from a sample HTML document. The XSLT style sheet can then be combined with XML documents that conform to the XML DTD to produce HTML pages with the same design as the original, but with new content. SAXON – includes a small application that can generate DTDs from sample input files –DTD Parsers –Schema Converters DTD2RELAX - converts a DTD into a RELAX schema module. XML Software Applications

Control information and development (con’d) –XSL Checkers XSL Lint – checks XSLT style sheets for mistakes XSL Trace – debugger for XSLT style sheets –XSL Converters XSLT is a subset of the more general XSL, these programs convert from XSL to XSLT –XSLT Editors –XSLT Generators WH2FO - reads HTML files produced by Microsoft Word and converts it into an XML document, with two XSLT style sheets: one for conversion back to HTML and one for conversion to XSL-FO (Extensible Style Sheet Language for Formatting Objects – another subset of XSL) Rhythmyx XSpLit XML Software Applications

Conversion (Tools for scripted creation and modification of XML documents.) –General N-converters – convert from non-XML (usually word processing document) to XML –General S-converters – process XML documents (Transformation) –Publishing Converters TeXML - an XML DTD and a Java application called TeXMLatte. TeXMLatte takes TeXML documents and converts them to TeX. This can be used with, for example, an XSL XML-to-TeXML conversion to produce TeX output from XML source documents. TeXML can also convert to plain text. XML Software Applications

Document Storage and Management (Tools for supporting document management, such as document databases and search engines.) –XML document database systems (systems for persistently storing XML documents and providing access to their structure and individual parts.) Lore - a DBMS built specifically for the XML data model, complete with query language, query optimizer, indexing, multi-user support and recovery. XML-DBMS - a Java library that can be used to move data from XML to a relational database and also back again. –XML search engines Xset - an XML search engine oriented towards performance. It keeps its working set in memory (using paging to support large documents) and can be accessed through RMI. The query language is very simple. sgrep - a general tool for searching and indexing text that supports XML (and SGML). It also has its own very powerful query language. XML Software Applications

Parsers and Engines (XML parsers, parsing toolkits, HyTime engines and DSSSL engines –DOM implementations – set of Java interfaces declaring methods that the developer should create –DSSSL engines – for formatting SGML docs –RDF parsers –SGML/XML parsers –XLink/XPointer engines Jaxon - parse XPath expressions, and evaluate them against XML tree representation –XML Middleware - General software packages for making XML-aware applications o f some form. –XML Parsers – translate XML markup & data into tokens to be processed –XML Validators - Software for validating XML documents by other means than DTDs. –XSL engines - Engines that support the XSL formatting objects specification. –XSLT engines - Engines that support the XSL Transformations specification. XML Software Applications

DTD drawbacks: –Enforcing an element’s range of occurrences A fruit_basket can have between 5 and 7 banana elements –Enforcing a numbering scheme on child elements A fruit_basket can have 3 bananas each numbered 1 through 3 Cannot be done with a DTD DTD vs. XML Schema

Enforcing an element’s range of occurrences –Use XML Schema DTD vs. XML Schema

Enforcing a numbering scheme on child elements – XSLT style sheet – and # of banana children OK Whoops! # of banana children is banana # banana_number DTD vs. XML Schema

OK Whoops! xnbo DTD vs. XML Schema

Limitations to CSS –Its simplicity limits more complex formatting –Elements are processed in the order of their appearance –Arithmetic operations on element positions or values cannot be done –May be replaced by XSL-FO More detailed than CSS Is an XML application Is more closely tied to XML’s nested-container structure Cascading Style Sheets

XSLT (Extensible Style sheet Language for Transformation) Allows data in a document to be used later for applications that do searches, queries and other sophisticated operations. Transform a document into something else XSLT (subset of XSL)