Games: XML Presented by: Idham bin Mat Desa Mohd Sharizal bin Hamzah Mohd Radzuan bin Mohd Shaari Shukor bin Nordin.

Slides:



Advertisements
Similar presentations
Project Automotive Coarse architecture XMI DOORS ASCET-SD UML-Suite
Advertisements

Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular.
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.
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.
3 November 2008CIS 340 # 1 Topics To define XML as a technology To place XML in the context of system architectures.
Tutorial 9 Working with XHTML
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
Introduction to XLink Transparency No. 1 XML Information Set W3C Recommendation 24 October 2001 (1stEdition) 4 February 2004 (2ndEdition) Cheng-Chia Chen.
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.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
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.
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
Tutorial 11 Creating XML Document
XML Introduction By Hongming Yu Feb 6 th, Index Markup Language: SGML, HTML, XML An XML example Why is XML important XML introduction XML applications.
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
Developing a Basic Web Page with HTML
XP New Perspectives on XML Tutorial 3 1 DTD Tutorial – Carey ISBN
XML, XSLT. Discussion on Markup Languages, Trends.
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
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.
Document Type Definitions Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
MIS 315 Bsharah An Introduction to XML 1MIS Bsharah.
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 Syntax - Writing XML and Designing DTD's
XML - Why: The HTML-Dilemma HTML, SGML, XML - How: Syntax, Concept, Language Elements Basics Well-formed XML-Documents (without DTD) Valid XML-Documents.
Tutorial 1: XML Creating an XML Document. 2 Introducing XML XML stands for Extensible Markup Language. A markup language specifies the structure and content.
1 Tutorial 13 Validating Documents with DTDs Working with Document Type Definitions.
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. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
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
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.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
1 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Understanding How XML Works Ellen Pearlman Eileen Mullin Programming the.
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.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
C# and Windows Programming XML Processing. 2 Contents Markup XML DTDs XML Parsers DOM.
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.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… XML Syntax v2.0.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
XML Technology. Emerging Importance of XML –HTML-tagging is display oriented. –XML-based content tagging has important uses: data mining role-oriented.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
XP 1Creating Web Pages with XML Tutorial 1 New Perspectives on XML Tutorial 1 – Creating an XML Document.
XML Extensible Markup Language
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
SNU OOPSLA Lab. A Tour of XML © copyright 2001 SNU OOPSLA Lab.
Tutorial 9 Working with XHTML
Tutorial 9 Working with XHTML
Creating an XML Document
Tutorial 9 Working with XHTML
XML Introduction By Hongming Yu Feb 6th, 2002.
CSE591: Data Mining by H. Liu
Presentation transcript:

Games: XML Presented by: Idham bin Mat Desa Mohd Sharizal bin Hamzah Mohd Radzuan bin Mohd Shaari Shukor bin Nordin

What is XML? XML is a markup language for documents containing structured information. Structured information contains both content (words, pictures, etc.) and some indication of what role that content plays A markup language is a mechanism to identify structures in a document. The XML specification defines a standard way to add markup to documents.

What's a Document? The number of applications currently being developed. The word "document" refers not only to traditional documents, like this one, but also to the myriad of other XML "data formats" These include vector graphics, e-commerce transactions, mathematical equations, object meta-data, server APIs, and a thousand other kinds of structured information.

So XML is Just like HTML? No. In HTML, both the tag semantics and the tag set are fixed. In conjunction with browser vendors and the WWW community, is constantly working to extend the definition of HTML to allow new tags to keep pace with changing technology and to bring variations in presentation (style sheets) to the Web

So XML is Just like HTML? Actually, these changes are always rigidly limited by what the browser vendors have implemented and by the fact that backward compatibility is supreme. Therefore, people who want to distribute information widely, features supported by only the latest releases of Netscape and Internet Explorer are not useful.

So XML is Just like HTML? Meanwhile, XML specifies neither semantics nor a tag set In fact XML is really a meta-language for describing markup languages. In other words, XML provides a facility to define tags and the structural relationships between them. All of the semantics of an XML document will either be defined by the applications that process them or by style sheets.

Why XML? XML was created so that richly structured documents could be used over the web. HTML, as we've already discussed, comes bound with a set of semantics and does not provide arbitrary structure. SGML provides arbitrary structure, but is too difficult to implement just for a web browser. Full SGML systems solve large, complex problems that justify their expense.

How Is XML Defined? XML is defined by a number of related specifications: Extensible Markup Language (XML) 1.0 Defines the syntax of XML. The XML specification is the primary focus of this article. XML Pointer Language (XPointer) and XML Linking Language (XLink) Defines a standard way to represent links between resources. In addition to simple links, like HTML's tag. XPointer describes how to address a resource, XLink describes how to associate two or more resources. Extensible Style Language (XSL) Defines the standard style sheet language for XML.

What Do XML Documents Look Like?

XML documents are composed of markup and content. There are six kinds of markup that can occur in an XML document: 1. Elements Elements are the most common form of markup. Delimited by angle brackets, most elements identify the nature of the content they surround. Some elements may be empty. If an element is not empty, it begins with a start-tag,, and ends with an end-tag,. 2. Entity References In XML, entities are used to represent these special characters. Entities are also used to refer to often repeated or varying text and to include the content of external files. Entity references begin with the ampersand and end with a semicolon.

3. Comments Comments begin with. You can place comments between markup anywhere in your document. 4. Processing Instructions Processing instructions (PIs) are an escape hatch to provide information to an application. Processing instructions have the form:. 5. CDATA Sections In a document, a CDATA section instructs the parser to ignore most markup characters. It might contain characters that the XML parser would ordinarily recognize as markup (< and &, for example). In order to prevent this, a CDATA section can be used.

6. Document Type Declarations A large percentage of the XML specification deals with various sorts of declarations that are allowed in XML It allows you to create your own tag names. Declarations allow a document to communicate meta-information to the parser about its content.

There are four kinds of declarations in XML: element type declarations, attribute list declarations, entity declarations, and notation declarations. 1. Element Type Declarations Element type declaration identify the names of elements and the nature of their content. A typical element type declaration looks like this: In addition to element names, the special symbol #PCDATA is reserved to indicate character data. The moniker PCDATA stands for parseable character data. Elements that contain only other elements are said to have element content. Elements that contain both other elements and #PCDATA are said to have mixed content. For example, the definition for burns might be

2. Attribute List Declarations Attribute list declarations identify which elements may have attributes, what attributes they may have, what values the attributes may hold, and what value is the default. A typical attribute list declaration looks like this: 3. Entity Declarations Entity declarations allow you to associate a name with some other fragment of content. That construct can be a chunk of regular text, a chunk of the document type declaration, or a reference to an external file containing either text or binary data.

A few typical entity declarations are shown in Example 3. Example 3. Typical Entity Declarations There are three kinds of entities: a) Internal Entities b) External Entities c) Parameter Entities 4. Notation Declarations Notation declarations identify specific types of external binary data. This information is passed to the processing application, which may make whatever use of it it wishes. A typical notation declaration is:

Other Markup Issues –In addition to markup, there are a few other issues to consider: white space handling, attribute value normalization, and the language in which the document is written. 1.White Space Handling You can only determine if white space is significant if you know the content model of the elements in question. –The rule for XML processors is that they must pass all characters that are not markup through to the application. – The special attribute xml:space may be used to indicate explicitly that white space is significant. –The only legal values for xml:space are preserve and default. –One last note about white space: in parsed text, XML processors are required to normalize all end-of-line markers to a single line feed character

2. Attribute Value Normalization The XML processer performs attribute value normalization on attribute values: character references are replaced by the referenced character, entity references are resolved (recursively), and whitespace is normalized. 3. Language Identification Many document processing applications can benefit from information about the natural language in which a document is written, XML defines the attribute xml:lang to identify the language. Since the purpose of this attribute is to standardize information across applications, the XML specification also describes how languages are to be identified.