1 CA201 Word Application XML Week # 10 By Tariq Ibn Aziz Dammam Community college.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

W3C SML F2F XML Schema 1.1 Sandy Gao, IBM.
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
XML Namespaces Each schema file associated with a URL to uniquely identify where elements come from – Like packages in Java
XML Language Family Detailed Examples Most information contained in these slide comes from: These slides are intended.
CIS 375—Web App Dev II SOAP.
XSLT (eXtensible Stylesheet Language Transformation) 1.
1 XML DTD & XML Schema Monica Farrow G30
XML Schemas Microsoft XML Schemas W3C XML Schemas.
1 CA201 Word Application Working with Graphics Week # 6 By Tariq Ibn Aziz Dammam Community college.
1 CA201 Word Application Working with Charts Week # 7 By Tariq Ibn Aziz Dammam Community college.
XML e X tensible M arkup L anguage 1/23.
1 CA201 Word Application Working with Documents Lecture # 1 By Tariq Ibn Aziz Dammam Community college.
XML Namespaces Andrey Smirnov CSCI 7818 September 21, 2000.
1 CA201 Word Application Creating Document for the Web Week # 9 By Tariq Ibn Aziz Dammam Community college.
DECO 3002 Advanced Technology Integrated Design Computing Studio Tutorial 6 – XML Schema School of Architecture, Design Science and Planning Faculty of.
1 XML Document Type Definitions XML Schema. 2 Well-Formed and Valid XML uWell-Formed XML allows you to invent your own tags. uValid XML conforms to a.
1 CA201 Word Application Collaborating with Others Week # 8 By Tariq Ibn Aziz Dammam Community college.
1 CA201 Word Application Changing the Appearance of Text Week # 3 By Tariq Ibn Aziz Dammam Community college.
1 CA201 Word Application Creating Forms Week # 10 By Tariq Ibn Aziz Dammam Community college.
XML Schema Describing the structure of XML documents. A very brief introduction 1XML Schema.
XML Schema Basics SD2520 Databases using XML and Jquery Chapter 12
Jennifer Widom XML Data XML Schema. Jennifer Widom XML Schema “Valid” XML Adheres to basic structural requirements  Also adheres to content-specific.
Introduction to XML This material is based heavily on the tutorial by the same name at
ACG 4401 XML Schemas XML Namespaces XLink. + The XML Foundation Many participants – an extended family! XML Instance documents – carry data in context.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
Copyright © 2003 Pearson Education, Inc. Slide 2-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
SDPL 2002Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Schemas Ellen Pearlman Eileen Mullin Programming the Web Using XML.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Li Tak Sing COMPS311F. XML Schemas XML Schema is a more powerful alternative to DTD to describe XML document structures. The XML Schema language is also.
XML Schema and Stylus Studio. Introduction to XML Schema XML Schema defines building blocks of a XML document XML Schemas are alternative to DTD Why XML.
1 Introduction to XML Schemas using eXcelon Stylus Studio XML schema language is a standard for specifying the structure of XML documents Uses the same.
August Chapter 2 - Markup and Core Concepts Learning XML by Erik T. Ray Slides were developed by Jack Davis College of Information Science and Technology.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Session IV Chapter 9 – XML Schemas
1 Tutorial 13 Validating Documents with DTDs Working with Document Type Definitions.
XML Schema Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University ElementType AttributeType XML Declar.
New Perspectives on XML, 2nd Edition
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
XSD Presented by Kushan Athukorala. 2 Agenda XML Namespaces XML Schema XSD Indicators XSD Data Types XSD Schema References.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
1 Tutorial 12 Working with Namespaces Combining XML Vocabularies in a Compound Document.
XML Schema. Why Validate XML? XML documents can generally have any structure XML grammars define specific document structures Validation is the act of.
1 CA203 Presentation Application Adding Tables, Charts, and Diagrams Lecture # 9 By Tariq Ibn Aziz Dammam Community college.
1 CA201 Word Application Arranging and Printing Documents Week # 4 By Tariq Ibn Aziz Dammam Community college.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
CIS 375—Web App Dev II XSD. 2 XSD IntroductionIntroduction XSD stands for XML __________ Definition, which is the XML-based alternative to ______. An.
Tutorial 2: XML Working with Namespaces. 2 Name Collision This figure shows two documents each with a Name element.
XML Schema Lecture 3. Indicators There are seven indicators: Order indicators: All Choice Sequence Occurrence indicators: maxOccurs minOccurs Group indicators:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
1 CA201 Word Application Presenting Information in Tables and Columns Week # 5 By Tariq Ibn Aziz Dammam Community college.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
XSD 2015, Fall Pusan National University HyungGyu Ryoo 1.
CITA 330 Section 4 XML Schema. XML Schema (XSD) An alternative industry standard for defining XML dialects More expressive than DTD Using XML syntax Promoting.
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
XML Schemas Dr. Awad Khalil Computer Science Department AUC.
1 CA201 Word Application Creating Form Letters and Labels Week # 11 By Tariq Ibn Aziz Dammam Community college.
XML Data DTDs, IDs & IDREFs.
XML Outline 1 XML 2 DTD.
Quiz Points 2 Rules Raise your hand if you know the question
New Perspectives on XML
Presentation transcript:

1 CA201 Word Application XML Week # 10 By Tariq Ibn Aziz Dammam Community college

Tariq Aziz, Dammam Community College 2 Objectives In this chapter you will learn to: –XML Document –Create XML Schema

Tariq Aziz, Dammam Community College 3 XML Document in Word Let's have a look at this XML document called “Simple.xml” XML document has a root element persons. The “persons” element contains 1 child element “person”. “person” appears twice and contain name, address, city, and country elements.

Tariq Aziz, Dammam Community College 4 XML Document in Notepad <persons xmlns:xsi=" xsi:noNamespaceSchemaLocation="simple.xsd"> Ola Nordmann Langgt Stavanger Norway

Tariq Aziz, Dammam Community College 5 XML Document The line above: xmlns:xsi=" tells the XML parser that this document should be validated against a schema. The line: xsi:noNamespaceSchemaLocation="simple.xsd" specifies WHERE the schema resides (here it is in the same folder as "simple.xml").

Tariq Aziz, Dammam Community College 6 Create XML Schema Open a file in Notepad and name it “Simple.xsd” To create the schema we could simply follow the structure in the XML document and define each element as we find it. We will start with the standard XML declaration followed by the xs:schema element that defines a schema...

Tariq Aziz, Dammam Community College 7 Create XML Schema[2]... In the schema above we use the standard namespace (xs), The URI associated with this namespace is the Schema language definition, which has the standard value of

Tariq Aziz, Dammam Community College 8 Complex Type Next, we have to define the “persons" element. This element contains other elements, therefore we consider it as a complex type. The child elements of the “person" element is surrounded by a xs:sequence element that defines an ordered sequence of sub elements......

Tariq Aziz, Dammam Community College 9 SML Schema

Tariq Aziz, Dammam Community College 10 Chapter Key Points