Semantic Web. XML and XML Schema. Morteza Amini. Sharif University of Technology Fall 94-95

Size: px
Start display at page:

Download "Semantic Web. XML and XML Schema. Morteza Amini. Sharif University of Technology Fall 94-95"

Transcription

1 ه عا ی Semantic Web XML and XML Schema Morteza Amini Sharif University of Technology Fall 94-95

2 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 2

3 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 3

4 SGML (ISO 8879:1986) Standard Generalized Markup Language The international standard for defining descriptions of structure and content in text documents. Interchangeable: device-independent, system-independent. Tags are not predefined. Using DTD to validate the structure of the document. Large, powerful, and very complex. Heavily used in industrial and commercial usages for over a decade. 4

5 HTML (RFC 1866) HyperText Markup Language A small SGML application used on web (a DTD and a set of processing conventions). Only uses a predefined set of tags. 5

6 What is XML? extensible Markup Language A simplified version of SGML. Maintains the most useful parts of SGML. Designed so that SGML can be delivered over the Web. More flexible and adaptable than HTML. XHTML: a reformulation of HTML 4 in XML 1.0 6

7 HTML vs. XML (1) HTML is used to mark up text so it can be displayed to users. HTML describes both structure (e.g. <p>, <h2>, <em>) and appearance (e.g. <br>, <font>, <i>) HTML uses a fixed, unchangeable set of tags. XML is used to mark up data so it can be processed by computers. XML describes only content, or meaning In XML, you make up your own tags. 7

8 HTML vs. XML (2) HTML is for humans HTML describes web pages. You don t want to see error messages about the web pages you visit. Browsers ignore and/or correct as many HTML errors as they can, so HTML is often sloppy. XML is for computers XML describes data. The rules are strict and errors are not allowed. In this way, XML is like a programming language. Current versions of most browsers can display XML However, browser support of XML is spotty at best. 8

9 XML-Related Technologies DTD (Document Type Definition) and XML Schemas are used to define legal XML tags and their attributes for particular purposes XSLT (extensible Stylesheet Language Transformations) and XPath are used to translate from one form of XML to another SAX (Simple API for XML) is an event-based sequential access parser API for XML documents. 9

10 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 10

11 XML Building Blocks - Declaration The XML declaration looks like this: <?xml version="1.0" encoding="utf-8" standalone="yes"?> The XML declaration is not required by browsers, but is required by most XML processors (so include it!) If present, the XML declaration must be first--not even whitespace should precede it. Note that the brackets are <? and?> version="1.0" is required (this is the only version so far) encoding can be "UTF-8" (ASCII) or "UTF-16" (Unicode), or something else, or it can be omitted standalone tells whether there is a separate DTD 11

12 XML Building Blocks - Processing Instructions PI s (Processing Instructions) may occur anywhere in the XML document (but usually first). A PI is a command to the program processing the XML document to handle it in a certain way. XML documents are typically processed by more than one program. Programs that do not recognize a given PI should just ignore it. General format of a PI: <?target instructions?> Example: <?xml-stylesheet type="text/css" href="mysheet.css"?> 12

13 XML Building Blocks - Elements Delimited by angle brackets. Identify the nature of the content they surround. General format: <element> </element> Empty element: <empty-element /> XML Elements have Relationships Elements are related as parents and children Elements have Content Elements can have different content types: Element, mixed, simple, empty 13

14 XML Building Blocks - Attributes Name-value pairs that occur inside start-tags after element name, like: <element attribute= value /> Provide additional information about elements that often is not a part of data. Attributes and elements are somewhat interchangeable Should I use an element or an attribute? Example using just elements: <name> <first>ali</first> <last>rahmati</last> </name> Example using attributes: <name first= Ali" last= Rahmati"></name> metadata (data about data) should be stored as attributes, and that data itself should be stored as elements 14

15 XML Building Blocks - Entities Five special characters must be written as entities, because they have special meaning in XML docs: & for & (almost always necessary) < for < (almost always necessary) > for > (not usually necessary) " for (necessary inside double quotes) &apos; for ' (necessary inside single quotes) These entities can be used even in places where they are not absolutely required. These are the only predefined entities in XML. 15

16 XML Building Blocks - Comments <!-- This is a comment in both HTML and XML --> Comments can be put anywhere in an XML document. Comments are useful for: Explaining the structure of an XML document Commenting out parts of the XML during development and testing The character sequence -- cannot occur in the comment. Comments are not necessarily displayed by browsers, but can be seen by anyone who looks at the source code. 16

17 CDATA By default, all text inside an XML document is parsed. You can force text to be treated as unparsed character data by enclosing it in <![CDATA[... ]]> Any characters, even & and <, can occur inside a CDATA Whitespace inside a CDATA is (usually) preserved. The only real restriction is that the character sequence ]]> cannot occur inside a CDATA. CDATA is useful when your text has a lot of illegal characters (for example, if your XML document contains some HTML text). 17

18 XML Syntax All XML documents must have a root tag. All XML elements must have a closing tag. XML tags are case sensitive. All XML elements must be properly nested. Attribute values must always be quoted. With XML, a new line is always stored as LF. 18

19 Well-Formed XML Every element must have both a start tag and an end tag, e.g. <name>... </name> But empty elements can be abbreviated: <break />. XML tags are case sensitive. XML tags may not begin with the letters xml, in any combination of cases. Elements must be properly nested, e.g. not <b><i>bold and italic</b></i> Every XML document must have one and only one root element. The values of attributes must be enclosed in single or double quotes, e.g. <time unit="days"> Parsed character data cannot contain < or & 19

20 Displaying XML XML documents do not carry information about how to display the data. We can add display information to XML with CSS (Cascading Style Sheets) XSL (extensible Stylesheet Language) --- preferred 20

21 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 21

22 XML Applications (1) Separate data XML can Separate Data from HTML Store data in separate XML files Using HTML for layout and display Data Islands can be embedded inside HTML pages using XML Benefits: Changes in the underlying data will not require any changes to your HTML 22

23 XML Applications (2) Exchange data XML is used to Exchange Data Text format Software-independent, hardware-independent Exchange data between incompatible systems, given that they agree on the same tag definition. Can be read by many different types of applications Benefits: Reduce the complexity of interpreting data Easier to expand and upgrade a system 23

24 XML Applications (3) Store Data XML can be used to Store Data Plain text file Store data in files or databases Application can be written to store and retrieve information from the store Other clients and applications can access your XML files as data sources Benefits: Accessible to more applications 24

25 XML Applications (4) Create new language XML can be used to Create new Languages, e.g. : WML (Wireless Markup Language) used to markup Internet applications for handheld devices like mobile phones (WAP). MusicXML used to publishing musical scores. 25

26 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 26

27 Names in XML Names (as used for tags and attributes) must begin with a letter or underscore, and can consist of: Letters, both Roman (English) and foreign Digits, both Roman and foreign. (dot) - (hyphen) _ (underscore) : (colon) should be used only for namespaces Combining characters and extenders (not used in English) 27

28 Namespaces Namespaces are a simple mechanism for creating globally unique names for the elements and attributes of your markup language. Benefits: De-conflicts the meaning of identical names in different markup languages. Allows different markup languages to be mixed together without ambiguity. Namespaces are implemented by requiring every XML name to consist of two parts: a prefix and a local part: <xsd:integer> 28

29 Namespaces and URIs A namespace is defined as a unique string To guarantee uniqueness, typically a URI (Uniform Resource Indicator) is used, because the author owns the domain. It doesn't have to be a real URI; it just has to be a unique string. Example: There are two ways to use namespaces: Declare a default namespace. Associate a prefix with a namespace, then use the prefix in the XML to refer to the namespace. 29

30 Namespace Syntax In any start tag you can use the reserved attribute name xmlns: <book xmlns=" This namespace will be used as the default for all elements up to the corresponding end tag. You can override it with a specific prefix. You can use almost the same form to declare a prefix: <book xmlns:dave=" Use this prefix on every tag and attribute you want to use from this namespace, including end tags--it is not a default prefix <dave:chapter dave:number="1">to Begin</dave:chapter> You can use the prefix in the start tag in which it is defined: <dave:book xmlns:dave= 30

31 Review of XML Rules Start with <?xml version="1"?> XML is case sensitive. You must have exactly one root element that encloses all the rest of the XML. Every element must have a closing tag. Elements must be properly nested. Attribute values must be enclosed in double or single quotation marks. There are only five pre-declared entities. 31

32 XML as a Tree An XML document represents a hierarchy; a hierarchy is a tree novel foreword chapter number="1" paragraph paragraph paragraph This is the great American novel. It was a dark and stormy night. Suddenly, a shot rang out! 32

33 Extended Document Standards You can define your own XML tag sets, but here are some already available: XHTML: HTML redefined in XML SMIL: Synchronized Multimedia Integration Language MathML: Mathematical Markup Language SVG: Scalable Vector Graphics DrawML: Drawing MetaLanguage ICE: Information and Content Exchange ebxml: Electronic Business with XML cxml: Commerce XML CBL: Common Business Library 33

34 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 34

35 XML Validation "Well Formed" XML document correct XML syntax "Valid" XML document well formed Conforms to the rules of a DTD or an XSD XML DTD (Document Type Definition) defines the legal building blocks of an XML document Can be inline in XML or as an external reference XML Schema Definition (XSD) an XML based alternative to DTD, more powerful Support namespace and data types 35

36 An Example XML with DTD <?xml version="1.0"?> <!DOCTYPE note [ <!ELEMENT note (to,from,heading,body)> <!ELEMENT to (#PCDATA)> <!ELEMENT from (#PCDATA)> <!ELEMENT heading (#PCDATA)> <!ELEMENT body (#PCDATA)> ]> <note> <to>tove</to> <from>jani</from> <heading>reminder</heading> <body>don't forget me this weekend</body> </note> 36

37 XML Schemas Schema is a general term DTDs are a form of XML schemas When we say XML Schemas, we usually mean the W3C XML Schema Language This is also known as XML Schema Definition language, or XSD. 37

38 XSD vs. DTD DTDs provide a very weak specification language You can t put any restrictions on text content You have very little control over mixed content (text plus elements) You have little control over ordering of elements DTDs are written in a strange (non-xml) format You need separate parsers for DTDs and XML The XML Schema Definition language solves these problems XSD gives you much more control over structure and content XSD is written in XML 38

39 Referring to a Schema To refer to a DTD in an XML document, the reference goes before the root element: <?xml version="1.0"?> <!DOCTYPE rootelement SYSTEM "url"> <rootelement>... </rootelement> To refer to an XML Schema in an XML document, the reference goes in the root element: <?xml version="1.0"?> <rootelement xmlns:xsi=" (The XML Schema Instance reference is required) xsi:nonamespaceschemalocation="url.xsd"> (This is where your XML Schema definition can be found)... </rootelement> 39

40 The XSD Document Since the XSD is written in XML, it can get confusing which we are talking about. The file extension is.xsd The root element is <schema> The XSD starts like this: <?xml version="1.0"?> <xs:schema xmlns:xs=" 40

41 <schema> The <schema> element may have attributes: xmlns:xs=" This is necessary to specify where all our XSD tags are defined. elementformdefault="qualified" This means that all XML elements must be qualified (use a namespace). It is highly desirable to qualify all elements, or problems will arise when another schema is added. 41

42 Simple and Complex Elements A simple element is one that contains text and nothing else. A simple element cannot have attributes. A simple element cannot contain other elements. A simple element cannot be empty. However, the text can be of many different types, and may have various restrictions applied to it. If an element isn t simple, it s complex. A complex element may have attributes. A complex element may be empty, or it may contain text, other elements, or both text and other elements. 42

43 Defining a Simple Element A simple element is defined as <xs:element name="name" type="type" /> where: name is the name of the element. the most common values for type are xs:boolean xs:integer xs:date xs:string xs:decimal xs:time Other attributes a simple element may have: default="default value" if no value is specified, value is assigned fixed="value" if the element appears its value must be equal to value, otherwise value is assigned Note that default and fixed are mutually exclusive. 43

44 Defining an Attribute Attributes themselves are always declared as simple types. An attribute is defined as <xs:attribute name="name" type="type" /> where: name and type are the same as for xs:element Other attributes a simple element may have: default="default value" if no other value is specified fixed="value" no other value may be specified use="optional" the attribute is not required (default) use="required" the attribute must be present 44

45 Restrictions, or facets The general form for putting a restriction on a text value is: <xs:element name="name"> (or xs:attribute) <xs:simpletype> <xs:restriction base="type">... the restrictions... </xs:restriction> </xs:simpletype> </xs:element> Example: <xs:element name="age"> <xs:simpletype> <xs:restriction base="xs:integer"> <xs:mininclusive value="0"> <xs:maxinclusive value="140"> </xs:restriction> </xs:simpletype> </xs:element> 45

46 Restrictions on Numbers mininclusive -- number must be the given value minexclusive -- number must be > the given value maxinclusive -- number must be the given value maxexclusive -- number must be < the given value totaldigits -- number must have exactly value digits fractiondigits -- number must have no more than value digits after the decimal point 46

47 Restrictions on Strings length -- the string must contain exactly value characters minlength -- the string must contain at least value characters maxlength -- the string must contain no more than value characters pattern -- the value is a regular expression that the string must match whitespace -- not really a restriction --tells what XML Processor to do with whitespaces (lines feeds, tabs, spaces, and carriage return) value="preserve" Keep all whitespace value="replace" Change all whitespace characters to spaces value="collapse" Remove leading and trailing whitespace, and replace all sequences of whitespace with a single space 47

48 Enumeration An enumeration restricts the value to be one of a fixed set of values. Example: <xs:element name="season"> <xs:simpletype> <xs:restriction base="xs:string"> <xs:enumeration value="spring"/> <xs:enumeration value="summer"/> <xs:enumeration value="autumn"/> <xs:enumeration value="fall"/> <xs:enumeration value="winter"/> </xs:restriction> </xs:simpletype> </xs:element> 48

49 Complex Elements A complex element is defined as <xs:element name="name"> <xs:complextype>... information about the complex type... </xs:complextype> </xs:element> Example: <xs:element name="person"> <xs:complextype> <xs:sequence> <xs:element name="firstname" type="xs:string" /> <xs:element name="lastname" type="xs:string" /> </xs:sequence> </xs:complextype> </xs:element> <xs:sequence> says that elements must occur in this order. Remember that attributes are always simple types. 49

50 Declaration and Use We can define types like as follows. <xs:complextype name="person"> <xs:sequence> <xs:element name="firstname" type="xs:string" /> <xs:element name="lastname" type="xs:string" /> </xs:sequence> </xs:complextype> To use a type we have declared, use it as the value of type="..." Examples: <xs:element name="student" type="person"/> <xs:element name="professor" type="person"/> 50

51 xs:sequence We ve already seen an example of a complex type whose elements must occur in a specific order: <xs:element name="person"> <xs:complextype> <xs:sequence> <xs:element name="firstname" type="xs:string" /> <xs:element name="lastname" type="xs:string" /> </xs:sequence> </xs:complextype> </xs:element> 51

52 xs:all xs:all allows elements to appear in any order <xs:element name="person"> <xs:complextype> <xs:all> <xs:element name="firstname" type="xs:string" /> <xs:element name="lastname" type="xs:string" /> </xs:all> </xs:complextype> </xs:element> Despite the name, the members of an xs:all group can occur once or not at all. You can use minoccurs="0" to specify that an element is optional (default value is 1) In this context, maxoccurs is always 1 52

53 Mixed Elements Mixed elements may contain both text and elements We add mixed="true" to the xs:complextype element The text itself is not mentioned in the element, and may go anywhere (it is basically ignored) <xs:complextype name="paragraph" mixed="true"> <xs:sequence> <xs:element name="somename type="xs:anytype"/> </xs:sequence> </xs:complextype> 53

54 Extensions You can base a complex type on another complex type and add some elements. <xs:complextype name="newtype"> <xs:complexcontent> <xs:extension base="othertype">...new stuff like this... <xs:element > </xs:element> </xs:extension> </xs:complexcontent> </xs:complextype> 54

55 Empty Elements An empty complex element cannot have contents, only attributes. <xs:element name="counter"> <xs:complextype> <xs:attribute name="count" type="xs:integer"/> </xs:complextype> </xs:element> 55

56 Predefined String Types Recall that a simple element is defined as: <xs:element name="name" type="type" /> Here are a few of the possible string types: xs:string -- a string xs:normalizedstring -- a string that doesn t contain tabs, newlines, or carriage returns xs:token -- a string that doesn t contain any whitespace other than single spaces Allowable restrictions on strings: enumeration, length, maxlength, minlength, pattern, whitespace 56

57 Predefined Date and Time Types xs:date -- A date in the format CCYY-MM-DD, for example, xs:time -- A date in the format hh:mm:ss (hours, minutes, seconds) xs:datetime -- Format is CCYY-MM-DDThh:mm:ss The T is part of the syntax Allowable restrictions on dates and times: enumeration, mininclusive, minexclusive, maxinclusive, maxexclusive, pattern, whitespace 57

58 Predefined Numeric Types Here are some of the predefined numeric types: xs:decimal xs:byte xs:short xs:int xs:long xs:positiveinteger xs:negativeinteger xs:nonpositiveinteger xs:nonnegativeinteger Allowable restrictions on numeric types: enumeration, mininclusive, minexclusive, maxinclusive, maxexclusive, fractiondigits, totaldigits, pattern, whitespace 58

59 References

60 Any Question... 60

Markup Languages. Lecture 4. XML Schema

Markup Languages. Lecture 4. XML Schema Markup Languages Lecture 4. XML Schema Introduction to XML Schema XML Schema is an XML-based alternative to DTD. An XML schema describes the structure of an XML document. The XML Schema language is also

More information

XML extensible Markup Language

XML extensible Markup Language extensible Markup Language Eshcar Hillel Sources: http://www.w3schools.com http://java.sun.com/webservices/jaxp/ learning/tutorial/index.html Tutorial Outline What is? syntax rules Schema Document Object

More information

Software Engineering Methods, XML extensible Markup Language. Tutorial Outline. An Example File: Note.xml XML 1

Software Engineering Methods, XML extensible Markup Language. Tutorial Outline. An Example File: Note.xml XML 1 extensible Markup Language Eshcar Hillel Sources: http://www.w3schools.com http://java.sun.com/webservices/jaxp/ learning/tutorial/index.html Tutorial Outline What is? syntax rules Schema Document Object

More information

XML (Extensible Markup Language)

XML (Extensible Markup Language) Basics of XML: What is XML? XML (Extensible Markup Language) XML stands for Extensible Markup Language XML was designed to carry data, not to display data XML tags are not predefined. You must define your

More information

Introduction Syntax and Usage XML Databases Java Tutorial XML. November 5, 2008 XML

Introduction Syntax and Usage XML Databases Java Tutorial XML. November 5, 2008 XML Introduction Syntax and Usage Databases Java Tutorial November 5, 2008 Introduction Syntax and Usage Databases Java Tutorial Outline 1 Introduction 2 Syntax and Usage Syntax Well Formed and Valid Displaying

More information

XML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28

XML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28 1 / 28 XML Schema Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 28 1 Introduction 2 Elements 3 Simple and complex types 4 Attributes 5 Groups and built-in 6 Import of other schemes

More information

COMP9321 Web Application Engineering. Extensible Markup Language (XML)

COMP9321 Web Application Engineering. Extensible Markup Language (XML) COMP9321 Web Application Engineering Extensible Markup Language (XML) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442

More information

Java EE 7: Back-end Server Application Development 4-2

Java EE 7: Back-end Server Application Development 4-2 Java EE 7: Back-end Server Application Development 4-2 XML describes data objects called XML documents that: Are composed of markup language for structuring the document data Support custom tags for data

More information

Appendix H XML Quick Reference

Appendix H XML Quick Reference HTML Appendix H XML Quick Reference What Is XML? Extensible Markup Language (XML) is a subset of the Standard Generalized Markup Language (SGML). XML allows developers to create their own document elements

More information

markup language carry data define your own tags self-descriptive W3C Recommendation

markup language carry data define your own tags self-descriptive W3C Recommendation XML intro 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 XML tags are not predefined. You must define

More information

XML. Document Type Definitions XML Schema. Database Systems and Concepts, CSCI 3030U, UOIT, Course Instructor: Jarek Szlichta

XML. Document Type Definitions XML Schema. Database Systems and Concepts, CSCI 3030U, UOIT, Course Instructor: Jarek Szlichta XML Document Type Definitions XML Schema 1 XML XML stands for extensible Markup Language. XML was designed to describe data. XML has come into common use for the interchange of data over the Internet.

More information

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11 !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... 7:4 @import Directive... 9:11 A Absolute Units of Length... 9:14 Addressing the First Line... 9:6 Assigning Meaning to XML Tags...

More information

So far, we've discussed the use of XML in creating web services. How does this work? What other things can we do with it?

So far, we've discussed the use of XML in creating web services. How does this work? What other things can we do with it? XML Page 1 XML and web services Monday, March 14, 2011 2:50 PM So far, we've discussed the use of XML in creating web services. How does this work? What other things can we do with it? XML Page 2 Where

More information

What is XML? XML is designed to transport and store data.

What is XML? XML is designed to transport and store data. What is XML? XML stands for extensible Markup Language. XML is designed to transport and store data. HTML was designed to display data. XML is a markup language much like HTML XML was designed to carry

More information

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Introduction XML Structure Document Type Definition (DTD) XHMTL Formatting XML CSS Formatting XSLT Transformations

More information

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. XML 2 APPLIATION hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: How to create an XML document. The role of the document map, prolog, and XML declarations. Standalone declarations.

More information

Comp 336/436 - Markup Languages. Fall Semester Week 4. Dr Nick Hayward

Comp 336/436 - Markup Languages. Fall Semester Week 4. Dr Nick Hayward Comp 336/436 - Markup Languages Fall Semester 2017 - Week 4 Dr Nick Hayward XML - recap first version of XML became a W3C Recommendation in 1998 a useful format for data storage and exchange config files,

More information

Android Pre- requisites

Android Pre- requisites Android Pre- requisites 1 Android To Dos! Make sure you have working install of Android Studio! Make sure it works by running Hello, world App! On emulator or on an Android device! Kindle Fire only $50

More information

Chapter 1: Getting Started. You will learn:

Chapter 1: Getting Started. You will learn: Chapter 1: Getting Started SGML and SGML document components. What XML is. XML as compared to SGML and HTML. XML format. XML specifications. XML architecture. Data structure namespaces. Data delivery,

More information

EXtensible Markup Language XML

EXtensible Markup Language XML EXtensible Markup Language XML 1 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 XML tags are not predefined.

More information

but XML goes far beyond HTML: it describes data

but XML goes far beyond HTML: it describes data The XML Meta-Language 1 Introduction to XML The father of markup languages: XML = EXtensible Markup Language is a simplified version of SGML Originally created to overcome the limitations of HTML the HTML

More information

CountryData Technologies for Data Exchange. Introduction to XML

CountryData Technologies for Data Exchange. Introduction to XML CountryData Technologies for Data Exchange Introduction to XML What is XML? EXtensible Markup Language Format is similar to HTML, but XML deals with data structures, while HTML is about presentation Open

More information

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML CSI 3140 WWW Structures, Techniques and Standards Representing Web Data: XML XML Example XML document: An XML document is one that follows certain syntax rules (most of which we followed for XHTML) Guy-Vincent

More information

Last week we saw how to use the DOM parser to read an XML document. The DOM parser can also be used to create and modify nodes.

Last week we saw how to use the DOM parser to read an XML document. The DOM parser can also be used to create and modify nodes. Distributed Software Development XML Schema Chris Brooks Department of Computer Science University of San Francisco 7-2: Modifying XML programmatically Last week we saw how to use the DOM parser to read

More information

Comp 336/436 - Markup Languages. Fall Semester Week 4. Dr Nick Hayward

Comp 336/436 - Markup Languages. Fall Semester Week 4. Dr Nick Hayward Comp 336/436 - Markup Languages Fall Semester 2018 - Week 4 Dr Nick Hayward XML - recap first version of XML became a W3C Recommendation in 1998 a useful format for data storage and exchange config files,

More information

XML Introduction 1. XML Stands for EXtensible Mark-up Language (XML). 2. SGML Electronic Publishing challenges -1986 3. HTML Web Presentation challenges -1991 4. XML Data Representation challenges -1996

More information

Web Services Part I. XML Web Services. Instructor: Dr. Wei Ding Fall 2009

Web Services Part I. XML Web Services. Instructor: Dr. Wei Ding Fall 2009 Web Services Part I Instructor: Dr. Wei Ding Fall 2009 CS 437/637 Database-Backed Web Sites and Web Services 1 XML Web Services XML Web Services = Web Services A Web service is a different kind of Web

More information

Using and defining new simple types. Basic structuring of definitions. Copyright , Sosnoski Software Solutions, Inc. All rights reserved.

Using and defining new simple types. Basic structuring of definitions. Copyright , Sosnoski Software Solutions, Inc. All rights reserved. IRIS Web Services Workshop II Session 1 Wednesday AM, September 21 Dennis M. Sosnoski What is XML? Extensible Markup Language XML is metalanguage for markup Enables markup languages for particular domains

More information

XML. Presented by : Guerreiro João Thanh Truong Cong

XML. Presented by : Guerreiro João Thanh Truong Cong XML Presented by : Guerreiro João Thanh Truong Cong XML : Definitions XML = Extensible Markup Language. Other Markup Language : HTML. XML HTML XML describes a Markup Language. XML is a Meta-Language. Users

More information

Introduction to XML. An Example XML Document. The following is a very simple XML document.

Introduction to XML. An Example XML Document. The following is a very simple XML document. Introduction to XML Extensible Markup Language (XML) was standardized in 1998 after 2 years of work. However, it developed out of SGML (Standard Generalized Markup Language), a product of the 1970s and

More information

Well-formed XML Documents

Well-formed XML Documents Well-formed XML Documents Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Agenda Types of XML documents Why Well-formed XML Documents

More information

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. XML 2 APPLIATION hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: How to create an XML document. The role of the document map, prolog, and XML declarations. Standalone declarations.

More information

XML. Objectives. Duration. Audience. Pre-Requisites

XML. Objectives. Duration. Audience. Pre-Requisites XML XML - extensible Markup Language is a family of standardized data formats. XML is used for data transmission and storage. Common applications of XML include business to business transactions, web services

More information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML

More information

XML Structures. Web Programming. Uta Priss ZELL, Ostfalia University. XML Introduction Syntax: well-formed Semantics: validity Issues

XML Structures. Web Programming. Uta Priss ZELL, Ostfalia University. XML Introduction Syntax: well-formed Semantics: validity Issues XML Structures Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming XML1 Slide 1/32 Outline XML Introduction Syntax: well-formed Semantics: validity Issues Web Programming XML1 Slide

More information

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,

More information

extensible Markup Language (XML) Basic Concepts

extensible Markup Language (XML) Basic Concepts (XML) Basic Concepts Giuseppe Della Penna Università degli Studi di L Aquila dellapenna@univaq.it http://www.di.univaq.it/gdellape This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike

More information

11. EXTENSIBLE MARKUP LANGUAGE (XML)

11. EXTENSIBLE MARKUP LANGUAGE (XML) 11. EXTENSIBLE MARKUP LANGUAGE (XML) Introduction Extensible Markup Language is a Meta language that describes the contents of the document. So these tags can be called as self-describing data tags. XML

More information

Languages of the WEB. Jukka K. Nurminen

Languages of the WEB. Jukka K. Nurminen Languages of the WEB Jukka K. Nurminen 14.1.2013 Prac%cali%es Last %me Prac%cali%es + Introduc%on Slides available in Noppa Some of the visi%ng lectures s%ll not confirmed Assignments Remember to signup

More information

W3C XML XML Overview

W3C XML XML Overview Overview Jaroslav Porubän 2008 References Tutorials, http://www.w3schools.com Specifications, World Wide Web Consortium, http://www.w3.org David Hunter, et al.: Beginning, 4th Edition, Wrox, 2007, 1080

More information

INTERNET PROGRAMMING XML

INTERNET PROGRAMMING XML INTERNET PROGRAMMING XML Software Engineering Branch / 4 th Class Computer Engineering Department University of Technology OUTLINES XML Basic XML Advanced 2 HTML & CSS & JAVASCRIPT & XML DOCUMENTS HTML

More information

Intro to XML. Borrowed, with author s permission, from:

Intro to XML. Borrowed, with author s permission, from: Intro to XML Borrowed, with author s permission, from: http://business.unr.edu/faculty/ekedahl/is389/topic3a ndroidintroduction/is389androidbasics.aspx Part 1: XML Basics Why XML Here? You need to understand

More information

Introduction to XML. XML: basic elements

Introduction to XML. XML: basic elements Introduction to XML XML: basic elements XML Trying to wrap your brain around XML is sort of like trying to put an octopus in a bottle. Every time you think you have it under control, a new tentacle shows

More information

MANAGING INFORMATION (CSCU9T4) LECTURE 2: XML STRUCTURE

MANAGING INFORMATION (CSCU9T4) LECTURE 2: XML STRUCTURE MANAGING INFORMATION (CSCU9T4) LECTURE 2: XML STRUCTURE Gabriela Ochoa http://www.cs.stir.ac.uk/~goc/ OUTLINE XML Elements vs. Attributes Well-formed vs. Valid XML documents Document Type Definitions (DTDs)

More information

XML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007.

XML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007. XML DTDs and Namespaces CS174 Chris Pollett Oct 3, 2007. Outline Internal versus External DTDs Namespaces XML Schemas Internal versus External DTDs There are two ways to associate a DTD with an XML document:

More information

XML. Jonathan Geisler. April 18, 2008

XML. Jonathan Geisler. April 18, 2008 April 18, 2008 What is? IS... What is? IS... Text (portable) What is? IS... Text (portable) Markup (human readable) What is? IS... Text (portable) Markup (human readable) Extensible (valuable for future)

More information

Structured documents

Structured documents Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.

More information

Modelling XML Applications (part 2)

Modelling XML Applications (part 2) Modelling XML Applications (part 2) Patryk Czarnik XML and Applications 2014/2015 Lecture 3 20.10.2014 Common design decisions Natural language Which natural language to use? It would be a nonsense not

More information

Introduction to XML. M2 MIA, Grenoble Université. François Faure

Introduction to XML. M2 MIA, Grenoble Université. François Faure M2 MIA, Grenoble Université Example tove jani reminder dont forget me this weekend!

More information

Markup Languages SGML, HTML, XML, XHTML. CS 431 February 13, 2006 Carl Lagoze Cornell University

Markup Languages SGML, HTML, XML, XHTML. CS 431 February 13, 2006 Carl Lagoze Cornell University Markup Languages SGML, HTML, XML, XHTML CS 431 February 13, 2006 Carl Lagoze Cornell University Problem Richness of text Elements: letters, numbers, symbols, case Structure: words, sentences, paragraphs,

More information

Jeff Offutt. SWE 642 Software Engineering for the World Wide Web

Jeff Offutt.  SWE 642 Software Engineering for the World Wide Web XML Advanced Topics Jeff Offutt http://www.cs.gmu.edu/~offutt/ SWE 642 Software Engineering for the World Wide Web sources: Professional Java Server Programming, Patzer, Wrox, 2 nd edition, Ch 5, 6 Programming

More information

Chapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch

Chapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch Chapter 11 XML Data Modeling Recent Development for Data Models 2016 Stefan Deßloch Motivation Traditional data models (e.g., relational data model) primarily support structure data separate DB schema

More information

XML. extensible Markup Language. ... and its usefulness for linguists

XML. extensible Markup Language. ... and its usefulness for linguists XML extensible Markup Language... and its usefulness for linguists Thomas Mayer thomas.mayer@uni-konstanz.de Fachbereich Sprachwissenschaft, Universität Konstanz Seminar Computerlinguistik II (Miriam Butt)

More information

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance. XML Programming Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend face-to-face in the classroom or

More information

XML & Related Languages

XML & Related Languages Unit 1 1 Introduction: XML XML = extensible Markup Language the universal format for structured documents and data on the Web. www.w3c.org/xml simple, very flexible text format derived from SGML (ISO 8879).

More information

XML stands for Extensible Markup Language and is a text-based markup language derived from Standard Generalized Markup Language (SGML).

XML stands for Extensible Markup Language and is a text-based markup language derived from Standard Generalized Markup Language (SGML). About the Tutorial XML stands for Extensible Markup Language and is a text-based markup language derived from Standard Generalized Markup Language (SGML). This tutorial will teach you the basics of XML.

More information

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004 Mag. iur. Dr. techn. Michael Sonntag Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004 E-Mail: sonntag@fim.uni-linz.ac.at http://www.fim.uni-linz.ac.at/staff/sonntag.htm Michael Sonntag 2004

More information

User Interaction: XML and JSON

User Interaction: XML and JSON User Interaction: XML and JSON Asst. Professor Donald J. Patterson INF 133 Fall 2011 1 What might a design notebook be like? Cooler What does a design notebook entry look like? HTML and XML 1989: Tim Berners-Lee

More information

CSC Web Technologies, Spring Web Data Exchange Formats

CSC Web Technologies, Spring Web Data Exchange Formats CSC 342 - Web Technologies, Spring 2017 Web Data Exchange Formats Web Data Exchange Data exchange is the process of transforming structured data from one format to another to facilitate data sharing between

More information

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance. XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:

More information

The XML Metalanguage

The XML Metalanguage The XML Metalanguage Mika Raento mika.raento@cs.helsinki.fi University of Helsinki Department of Computer Science Mika Raento The XML Metalanguage p.1/442 2003-09-15 Preliminaries Mika Raento The XML Metalanguage

More information

XML. Part II DTD (cont.) and XML Schema

XML. Part II DTD (cont.) and XML Schema XML Part II DTD (cont.) and XML Schema Attribute Declarations Declare a list of allowable attributes for each element These lists are called ATTLIST declarations Consists of 3 basic parts The ATTLIST keyword

More information

EMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents

EMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents EMERGING TECHNOLOGIES XML Documents and Schemas for XML documents Outline 1. Introduction 2. Structure of XML data 3. XML Document Schema 3.1. Document Type Definition (DTD) 3.2. XMLSchema 4. Data Model

More information

Outline. XML vs. HTML and Well Formed vs. Valid. XML Overview. CSC309 Tutorial --XML 4. Edward Xia

Outline. XML vs. HTML and Well Formed vs. Valid. XML Overview. CSC309 Tutorial --XML 4. Edward Xia CSC309 Tutorial XML Edward Xia November 7, 2003 Outline XML Overview XML DOCTYPE Element Declarations Attribute List Declarations Entity Declarations CDATA Stylesheet PI XML Namespaces A Complete Example

More information

Internet Technologies 11-XML. F. Ricci 2010/2011

Internet Technologies 11-XML. F. Ricci 2010/2011 Internet Technologies 11-XML F. Ricci 2010/2011 Content Motivation Examples Applications Elements, Prologue, Document Type Definition Attributes Well-formedness XML and CSS Document Type Definition and

More information

Bioinforma)cs Resources XML / Web Access

Bioinforma)cs Resources XML / Web Access Bioinforma)cs Resources XML / Web Access Lecture & Exercises Prof. B. Rost, Dr. L. Richter, J. Reeb Ins)tut für Informa)k I12 XML Infusion (in 10 sec) compila)on from hkp://www.w3schools.com/xml/default.asp

More information

Author: Irena Holubová Lecturer: Martin Svoboda

Author: Irena Holubová Lecturer: Martin Svoboda NPRG036 XML Technologies Lecture 1 Introduction, XML, DTD 19. 2. 2018 Author: Irena Holubová Lecturer: Martin Svoboda http://www.ksi.mff.cuni.cz/~svoboda/courses/172-nprg036/ Lecture Outline Introduction

More information

XML Schema Element and Attribute Reference

XML Schema Element and Attribute Reference E XML Schema Element and Attribute Reference all This appendix provides a full listing of all elements within the XML Schema Structures Recommendation (found at http://www.w3.org/tr/xmlschema-1/). The

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2411 1 Extensible

More information

Altova XMLSpy 2013 Tutorial

Altova XMLSpy 2013 Tutorial Tutorial All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage

More information

The components of a basic XML system.

The components of a basic XML system. XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML XML is a software- and hardware-independent tool for carrying information. XML is easy to learn. XML was designed

More information

Restricting complextypes that have mixed content

Restricting complextypes that have mixed content Restricting complextypes that have mixed content Roger L. Costello October 2012 complextype with mixed content (no attributes) Here is a complextype with mixed content:

More information

PART. Oracle and the XML Standards

PART. Oracle and the XML Standards PART I Oracle and the XML Standards CHAPTER 1 Introducing XML 4 Oracle Database 10g XML & SQL E xtensible Markup Language (XML) is a meta-markup language, meaning that the language, as specified by the

More information

XML Format Plug-in User s Guide. Version 10g Release 3 (10.3)

XML Format Plug-in User s Guide. Version 10g Release 3 (10.3) XML Format Plug-in User s Guide Version 10g Release 3 (10.3) XML... 4 TERMINOLOGY... 4 CREATING AN XML FORMAT... 5 CREATING AN XML FORMAT BASED ON AN EXISTING XML MESSAGE FORMAT... 5 CREATING AN EMPTY

More information

SDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5

SDPL : XML Basics 2. SDPL : XML Basics 1. SDPL : XML Basics 4. SDPL : XML Basics 3. SDPL : XML Basics 5 2 Basics of XML and XML documents 2.1 XML and XML documents Survivor's Guide to XML, or XML for Computer Scientists / Dummies 2.1 XML and XML documents 2.2 Basics of XML DTDs 2.3 XML Namespaces XML 1.0

More information

Altova XMLSpy 2007 Tutorial

Altova XMLSpy 2007 Tutorial Tutorial All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage

More information

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language 7.1 Introduction - SGML is a meta-markup language - Developed in the early 1980s; ISO std. In 1986 - HTML was developed using SGML in the early 1990s - specifically for Web documents - Two problems with

More information

Web Computing. Revision Notes

Web Computing. Revision Notes Web Computing Revision Notes Exam Format The format of the exam is standard: Answer TWO OUT OF THREE questions Candidates should answer ONLY TWO questions The time allowed is TWO hours Notes: You will

More information

Grid Computing. What is XML. Tags, elements, and attributes. Valid and well formed XML. Grid Computing Fall 2006 Paul A.

Grid Computing. What is XML. Tags, elements, and attributes. Valid and well formed XML. Grid Computing Fall 2006 Paul A. Grid Computing XML Fall 2006 Including material from Amy Apon, James McCartney, Arkansas U. What is XML XML stands for extensible markup language It is a hierarchical data description language It is a

More information

XML for Android Developers. partially adapted from XML Tutorial by W3Schools

XML for Android Developers. partially adapted from XML Tutorial by W3Schools XML for Android Developers partially adapted from XML Tutorial by W3Schools Markup Language A system for annotating a text document in way that is syntactically distinguishble from the content. Motivated

More information

CSS, Cascading Style Sheets

CSS, Cascading Style Sheets CSS, Cascading Style Sheets HTML was intended to define the content of a document This is a heading This is a paragraph This is a table element Not how they look (aka style)

More information

XML is a popular multi-language system, and XHTML depends on it. XML details languages

XML is a popular multi-language system, and XHTML depends on it. XML details languages 1 XML XML is a popular multi-language system, and XHTML depends on it XML details languages XML 2 Many of the newer standards, including XHTML, are based on XML = Extensible Markup Language, so we will

More information

2009 Martin v. Löwis. Data-centric XML. XML Syntax

2009 Martin v. Löwis. Data-centric XML. XML Syntax Data-centric XML XML Syntax 2 What Is XML? Extensible Markup Language Derived from SGML (Standard Generalized Markup Language) Two goals: large-scale electronic publishing exchange of wide variety of data

More information

B oth element and attribute declarations can use simple types

B oth element and attribute declarations can use simple types Simple types 154 Chapter 9 B oth element and attribute declarations can use simple types to describe the data content of the components. This chapter introduces simple types, and explains how to define

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1 Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.

More information

Session 23 XML. XML Reading and Reference. Reading. Reference: Session 23 XML. Robert Kelly, 2018

Session 23 XML. XML Reading and Reference. Reading. Reference: Session 23 XML. Robert Kelly, 2018 Session 23 XML Reading XML Reading and Reference https://en.wikipedia.org/wiki/xml Reference: XML in a Nutshell (Ch. 1-3), available in Safari On-line 2 1 Lecture Objectives Understand the goal of application

More information

Introduction to XML Zdeněk Žabokrtský, Rudolf Rosa

Introduction to XML Zdeněk Žabokrtský, Rudolf Rosa NPFL092 Technology for Natural Language Processing Introduction to XML Zdeněk Žabokrtský, Rudolf Rosa November 28, 2018 Charles Univeristy in Prague Faculty of Mathematics and Physics Institute of Formal

More information

PESC Compliant JSON Version /19/2018. A publication of the Technical Advisory Board Postsecondary Electronic Standards Council

PESC Compliant JSON Version /19/2018. A publication of the Technical Advisory Board Postsecondary Electronic Standards Council Version 0.5.0 10/19/2018 A publication of the Technical Advisory Board Postsecondary Electronic Standards Council 2018. All Rights Reserved. This document may be copied and furnished to others, and derivative

More information

COPYRIGHTED MATERIAL. Introduction to XML

COPYRIGHTED MATERIAL. Introduction to XML Introduction to XML Extensible Markup Language (XML) is a language defined by the World Wide Web Consortium (W3C, http://www.w3c.org), the body that sets the standards for the Web. You can use XML to create

More information

Overview. Introduction. Introduction XML XML. Lecture 16 Introduction to XML. Boriana Koleva Room: C54

Overview. Introduction. Introduction XML XML. Lecture 16 Introduction to XML. Boriana Koleva Room: C54 Overview Lecture 16 Introduction to XML Boriana Koleva Room: C54 Email: bnk@cs.nott.ac.uk Introduction The Syntax of XML XML Document Structure Document Type Definitions Introduction Introduction SGML

More information

Solution Sheet 5 XML Data Models and XQuery

Solution Sheet 5 XML Data Models and XQuery The Systems Group at ETH Zurich Big Data Fall Semester 2012 Prof. Dr. Donald Kossmann Prof. Dr. Nesime Tatbul Assistants: Martin Kaufmann Besmira Nushi 07.12.2012 Solution Sheet 5 XML Data Models and XQuery

More information

XML: Extensible Markup Language

XML: Extensible Markup Language XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified

More information

extensible Markup Language

extensible Markup Language extensible Markup Language XML is rapidly becoming a widespread method of creating, controlling and managing data on the Web. XML Orientation XML is a method for putting structured data in a text file.

More information

Data Storage and Structure

Data Storage and Structure Responsible persons: Regula Stopper (Overall) Andreas Neumann (Content) Samuel Wiesmann (Revision) Olaf Schnabel (Revision) Table Of Content 1.... 2 1.1. Data Storage... 3 1.1.1. Plain Text Files... 3

More information

More XML Schemas, XSLT, Intro to PHP. CS174 Chris Pollett Oct 15, 2007.

More XML Schemas, XSLT, Intro to PHP. CS174 Chris Pollett Oct 15, 2007. More XML Schemas, XSLT, Intro to PHP CS174 Chris Pollett Oct 15, 2007. Outline XML Schemas XSLT PHP Overview of data types There are two categories of data types in XML Schemas: simple types -- which are

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2017 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid= 2465 1

More information

Chapter 2 XML, XML Schema, XSLT, and XPath

Chapter 2 XML, XML Schema, XSLT, and XPath Summary Chapter 2 XML, XML Schema, XSLT, and XPath Ryan McAlister XML stands for Extensible Markup Language, meaning it uses tags to denote data much like HTML. Unlike HTML though it was designed to carry

More information

Semistructured data, XML, DTDs

Semistructured data, XML, DTDs Semistructured data, XML, DTDs Introduction to Databases Manos Papagelis Thanks to Ryan Johnson, John Mylopoulos, Arnold Rosenbloom and Renee Miller for material in these slides Structured vs. unstructured

More information

Session [2] Information Modeling with XSD and DTD

Session [2] Information Modeling with XSD and DTD Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk

More information