CPT374 Tutorial-Laboratory Sheet Two
|
|
- Magnus Hamilton
- 5 years ago
- Views:
Transcription
1 CPT374 Tutorial-Laboratory Sheet Two Objectives: Understanding XML DTDs Tutorial Exercises Exercise 1 - An introduction to XML DTD Go to and read the 15 examples provided in the ZVON DTD tutorial. Answer the following questions: 1.1 What is the "internal subset" of a DTD? What is the "external subset"? What advantages does one have over the other? 1.2 Is it possible to have both external and internal subset in a DTD? Provide an example. 1.3 What is an Element Content Model? What is the difference between this model and the Mixed Content Model? 1.4 Why are the following declarations illegal? <!ELEMENT text (#PCDATA footnote)> <!ELEMENT text (start, #PCDATA, end)> 1.5 What is the difference between ID and IDREF? 1.6 What is the difference between an internal and an external (parsed) entity? Provide examples. 1.7 What are parameter entities? Where can they be referenced? Exercise 2 - A DTD example using ID and IDREFS Write an XML DTD (mywml.dtd) for representing MyWML (My Wireless Markup Language) documents. A MyWML consists of one or more card elements. One attribute in your DTD should be an ID type, another attribute should be an IDREF type, and another attribute should be an enumerated type. Attributes should be optional except for ``type'', ``href'', and ``src, which must always be supplied. Your DTD must be written in such a way that the following MyWML document (mywml.xml) conforms to it. State any additional assumptions you need to make about the structure of MyWML documents. <?xml version="1.0"?> <!DOCTYPE mywml SYSTEM "mywml.dtd"> <mywml> <card id="card1" title="main page"> <do type="accept" label="next"> <go href="card2" /> </do> <p><emph>welcome</emph></p> <p>select NEXT to go to last page.</p> </card> <card id="card2" title="other page"> <do type="accept" label="next"> <go href="card3" /> </do> <do type="accept" label="prev"> <go href="card1" /> </do> <p><img alt="logo" src="logo.wbmp" /></p> <p>select NEXT to go to last page.</p> </card> Tutorial-Laboratory Sheet Two Page 1 of 9
2 <card id="card3" title="last page"> <do type="prev" label="back"> <prev /> </do> <p> Last Page </p> </card> </mywml> Laboratory Exercises Exercise 3 Creating DTD and validating XML against DTD using Eclipse We will now create a project in a slightly different way. I am sure you would not like to save all of your work in a folder called XMLExamples! Follow these steps- File New Project Choose the General option as shown below. Click Next. Give a name to the project. This time, Eclipse will create a folder inside the workspace directory. Call it say- Lab2Demo Click Next and then Finish. You will now be able to see Lab2Demo directory in the Package Explorer. Right click at it inside Package Explorer and choose the option New Other Scroll down to XML folder, open it. Add the XML file from above exercise to the project. After Eclipse has created an empty template, you can add the code for mwml.xml to it. I have already supplied you with the code in a zipped archive for this week. Now we need to add a DTD (call it mywml.dtd) to validate this XML file, Now right-click at the name of the name of the project and choose New Other option, a dialog box will appear and choose DTD this time. Eclipse does something silly- it adds an XML declaration at the top of empty DTD template- PLEASE REMOVE IT. DTD is not an XML file. Tutorial-Laboratory Sheet Two Page 2 of 9
3 In the final window you will now see the following (REMOVE THE XML declaration line from the top) Start writing the DTD or copy the code from the supplied file. Once it is completed, have a look at the Outline window on the right-hand-side Tutorial-Laboratory Sheet Two Page 3 of 9
4 Note: These panes do not appear like that in Eclipse- this is an edited image! Right-click at the XML file name in the Package Explorer and choose the option Validate - the in-built parser of Eclipse will validate XML document against DTD. If there is no error, Eclipse would notify you. In case of errors, the errors are pointed out as red icon next to the offending line- move your mouse on that icon and it will display a detailed error. Tutorial-Laboratory Sheet Two Page 4 of 9
5 Exercise 4 - Marking up text using a DTD Consider the following DTD: <!ELEMENT address-book <!ELEMENT entry <!ELEMENT name <!ELEMENT fname <!ELEMENT lname <!ELEMENT address <!ATTLIST address <!ELEMENT street <!ELEMENT region <!ELEMENT postal-code <!ELEMENT locality <!ELEMENT country <!ELEMENT tel <!ATTLIST tel <!ELEMENT fax <!ATTLIST fax <!ELEMENT <!ATTLIST (entry+)> (name,address*,tel*,fax*, *)> (#PCDATA fname lname)*> (street,region?,postal-code,locality,country)> preferred (true false) false > preferred (true false) false > preferred (true false) false > EMPTY> href CDATA #REQUIRED preferred (true false) false > Now consider the following text: John Doe 34 Fountain Square Plaza Cincinnati, OH USA (preferred) jdoe@ .com Jack Smith jsmith@ .com Using the supplied DTD, create an XML document that contains the above text. How can you do this using Eclipse? Create a Project and, Right-click at Project name and Invoke New XML File wizard using workbench menu File>New>Other>XML>XML On the XML File Name page select a project or folder to contain the XML file and type a name for it. Next, depending on what type of gramma file you need choose, select the Create XML file from DTD file radio button. Tutorial-Laboratory Sheet Two Page 5 of 9
6 The next choice you have to do is to select your DTD file (it should pre exist somewhere). You can select it from the workspace (you can import files into the workspace if they are not there). Click Next button. On the Select Root Element page select from the following content options: o Create optional attributes - both mandatory and optional attributes will be generated. o Create optional elements - both mandatory and optional elements will be generated. o Create first choice of required choice - the first option of a required choice will be generated in your XML file. o Fill elements and attributes with data - any elements and attributes generated will be filled with sample data. If you do not select any of these options, then only the minimum amount of content required for the XML file will be created. Rest is self-explanatory. The advantage of this approach is that- as you create an XML document, it is constantly validated against DTD for any errors. Tutorial-Laboratory Sheet Two Page 6 of 9
7 Exercise 5 - XML Namespaces and DTD Consider the following XML document (invalid-internal.xml): <?xml version="1.0"?> <!DOCTYPE kbs:myroot [ <!ELEMENT kbs:myroot (kbs:child1, kbs:child2+) > <!ATTLIST kbs:myroot xmlns:kbs CDATA #FIXED " <!ELEMENT kbs:child1 (#PCDATA) > <!ELEMENT kbs:child2 (#PCDATA) > ]> <kbs:myroot> <child1>invalid</child1> <child2>doc</child2> </kbs:myroot> Validate this document against its DTD by using Eclipse. Does it validate? Why (not)? If it does not validate, fix it so that the XML document gets validated against its DTD. Try to also include an external DTD into the XML document. Tutorial-Laboratory Sheet Two Page 7 of 9
8 SELF-EXERCISE Exercise 6 - A DTD example Inspect the DTD below and try to work out all its components: 1: <?xml version = "1.0" encoding = "UTF-8"?> 2: <!-- 3: This invoice DTD is strictly illustrative. 4: It is not intended for actual use in an ecommerce system. 5: --> 6: <!ELEMENT Invoice (ShipTo, Date, ItemInfo+, Summary*)> 7: <!ATTLIST Invoice version CDATA #IMPLIED> 8: <!-- #IMPLIED means attribute is completely optional. --> 9: <!ELEMENT ShipTo (Name, (CustomerID SocSecNo), 10: Address?, City?, State?, Zip?)> 11: <!ELEMENT Name (First, Last)> 12: <!ELEMENT First 13: <!ELEMENT Last 14: <!ELEMENT CustomerID 15: <!ATTLIST CustomerID sex (male female unknown) #REQUIRED> 16: <!-- #REQUIRED means attribute cannot be omitted & has no default. --> 17: <!ELEMENT SocSecNo 18: <!ELEMENT Address 19: <!ELEMENT City 20: <!ELEMENT State 21: <!ELEMENT Zip 22: <!ELEMENT Date <!-- in CCYY-MM-DD format --> 23: <!ELEMENT ItemInfo (ItemName?, SKU, Quantity, Weight, Price+, 24: Note?, Divider?)> 25: <!ELEMENT ItemName 26: <!ELEMENT SKU 27: <!ELEMENT Quantity 28: <!ELEMENT Weight 29: <!ATTLIST Weight unitofmeasure (lb oz) "oz" 30: measurementtype CDATA #FIXED "US" > 31: <!-- #FIXED means attribute has constant (immutable) value--> 32: <!ELEMENT Price 33: <!ELEMENT Note (#PCDATA Link Emph )* > 34: <!ELEMENT Emph 35: <!ELEMENT Link 36: <!ELEMENT Divider EMPTY > 37: <!ELEMENT Summary ANY > Replace the line: 6: <!ELEMENT Invoice (ShipTo, Date, ItemInfo+, Summary*)> with the line: 6: <!ELEMENT Invoice (ShipTo, BillTo?, Date, ItemInfo+, Summary*)> and insert the following line into the DTD, : between lines 10 and 11: <!ELEMENT BillTo (Name, (CustomerID SocSecNo), Address?, City?, State?, Zip?)> The modified DTD shows that both ShipTo and BillTo have the same content model. How can we use a parameter entity to express this more elegantly? Change your DTD to use a parameter entity and validate your document against it. Tutorial-Laboratory Sheet Two Page 8 of 9
9 Exercise 7- in built templates in Eclipse Create a new Project. File New Project In the dialog box that appears, expand Examples menu and choose Editing and validating XML files option Click Next and then Finish- have a look at the Project that gets created in the Package Explorer (XML Examples) Explore the various directories- it has various XML and DTD examples. Tutorial-Laboratory Sheet Two Page 9 of 9
Introduction to XML. When talking about XML, here are some terms that would be helpful:
Introduction to XML XML stands for the extensible Markup Language. It is a new markup language, developed by the W3C (World Wide Web Consortium), mainly to overcome limitations in HTML. HTML is an immensely
More informationTutorial 2: Validating Documents with DTDs
1. One way to create a valid document is to design a document type definition, or DTD, for the document. 2. As shown in the accompanying figure, the external subset would define some basic rules for all
More informationXML, DTD: Exercises. A7B36XML, AD7B36XML: XML Technologies. Practical Classes 1 and 2: 3. and
A7B36XML, AD7B36XML: XML Technologies Practical Classes 1 and 2: XML, DTD: Exercises 3. and 10. 3. 2017 Jiří Helmich helmich@ksi.mff.cuni.cz Martin Svoboda svoboda@ksi.mff.cuni.cz http://www.ksi.mff.cuni.cz/~svoboda/courses/2016-2-a7b36xml/
More informationData Presentation and Markup Languages
Data Presentation and Markup Languages MIE456 Tutorial Acknowledgements Some contents of this presentation are borrowed from a tutorial given at VLDB 2000, Cairo, Agypte (www.vldb.org) by D. Florescu &.
More informationIntroduction to XML. National University of Computer and Emerging Sciences, Lahore. Shafiq Ur Rahman. Center for Research in Urdu Language Processing
Introduction to XML Shafiq Ur Rahman Center for Research in Urdu Language Processing National University of Computer and Emerging Sciences, Lahore XMLXML DTDDTD Related Related Standards Overview What
More informationCopyright 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 informationOutline. 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 informationChapter 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 informationThe concept of DTD. DTD(Document Type Definition) Why we need DTD
Contents Topics The concept of DTD Why we need DTD The basic grammar of DTD The practice which apply DTD in XML document How to write DTD for valid XML document The concept of DTD DTD(Document Type Definition)
More informationXML: 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 informationXML and DTD. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28
1 / 28 XML and DTD Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 28 1 Introduction 2 XML syntax 3 Namespace 4 Document Type Definition (DTD) 5 Exercises Outline 3 / 28 1 Introduction
More informationIntroduction 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 informationXML Information Set. Working Draft of May 17, 1999
XML Information Set Working Draft of May 17, 1999 This version: http://www.w3.org/tr/1999/wd-xml-infoset-19990517 Latest version: http://www.w3.org/tr/xml-infoset Editors: John Cowan David Megginson Copyright
More information7.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 informationIntroduction to XML. Chapter 133
Chapter 133 Introduction to XML A. Multiple choice questions: 1. Attributes in XML should be enclosed within. a. single quotes b. double quotes c. both a and b d. none of these c. both a and b 2. Which
More informationXML. 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 informationSemistructured 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 informationOverview. 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 informationGetting Started with Web Services
Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be
More informationIntroduction to Database Systems CSE 414
Introduction to Database Systems CSE 414 Lecture 14-15: XML CSE 414 - Spring 2013 1 Announcements Homework 4 solution will be posted tomorrow Midterm: Monday in class Open books, no notes beyond one hand-written
More informationXML. extensible Markup Language. Overview. Overview. Overview XML Components Document Type Definition (DTD) Attributes and Tags An XML schema
XML extensible Markup Language An introduction in XML and parsing XML Overview XML Components Document Type Definition (DTD) Attributes and Tags An XML schema 3011 Compiler Construction 2 Overview Overview
More informationIntroduction to XML. Yanlei Diao UMass Amherst April 17, Slides Courtesy of Ramakrishnan & Gehrke, Dan Suciu, Zack Ives and Gerome Miklau.
Introduction to XML Yanlei Diao UMass Amherst April 17, 2008 Slides Courtesy of Ramakrishnan & Gehrke, Dan Suciu, Zack Ives and Gerome Miklau. 1 Structure in Data Representation Relational data is highly
More informationIntroduction 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 informationSmooks Developer Tools Reference Guide. Version: GA
Smooks Developer Tools Reference Guide Version: 3.2.1.GA 1. Introduction... 1 1.1. Key Features of Smooks Tools... 1 1.2. 1.3. 1.4. 2. Tasks 2.1. 2.2. 2.3. What is Smooks?... 1 What is Smooks Tools?...
More informationOutline. XML DOCTYPE External - SYSTEM. XML DOCTYPE Internal DTD &6&7XWRULDO ;0/ (GZDUG;LD
&6&7XWRULDO ;0/ (GZDUG;LD Outline XML DOCTYPE Element Declarations Attribute List Declarations Entity Declarations CDATA Stylesheet PI A Complete Example -DQXDU\ 1 CSC309 Tutorial --XML 2 XML DOCTYPE Internal
More informationIntroduction 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 informationInformation Systems. DTD and XML Schema. Nikolaj Popov
Information Systems DTD and XML Schema Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline DTDs Document Type Declarations
More informationXML Technologies XML, DTD
XML Technologies XML, DTD Basic Structural Components of XML Documents (1/2)
More informationGetting Started with Web Services
Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be
More informationDTDs and XML Attributes
DTDs and XML Attributes Lecture 33 Robb T. Koether Hampden-Sydney College Mon, Apr 8, 2013 Robb T. Koether (Hampden-Sydney College) DTDs and XML Attributes Mon, Apr 8, 2013 1 / 21 1 Attribute Definitions
More informationDelivery 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 informationFundamentals of Web Programming a
Fundamentals of Web Programming a Introduction to XML Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science a Copyright 2009 Teodor Rus. These slides have been developed by
More informationXML DTD A brief introduction. Glossary XML DTD <!DOCTYPE [ ]>
.. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar.. Glossary XML EXtensible Markup Language. XML DTD A brief introduction DTD Document Type Definition (Description).
More informationXML Spy Tutorial Lab Contents
XML Spy Tutorial Lab 1 An XML Schema is similar to DTD and created by Microsoft. It describes the structure of an XML document. If an XML document follows the XML Schema, it is said to be valid; otherwise
More informationIBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free
000-141 Dumps 000-141 Braindumps 000-141 Real Questions 000-141 Practice Test 000-141 dumps free IBM 000-141 XML and Related Technologies http://killexams.com/pass4sure/exam-detail/000-141 collections
More informationSDPL : 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 informationWritten Exam XML Winter 2005/06 Prof. Dr. Christian Pape. Written Exam XML
Name: Matriculation number: Written Exam XML Max. Points: Reached: 9 20 30 41 Result Points (Max 100) Mark You have 60 minutes. Please ask immediately, if you do not understand something! Please write
More informationConstructing a Document Type Definition (DTD) for XML
Constructing a Document Type Definition (DTD) for XML Abstract John W. Shipman 2013-08-24 12:16 Describes the Document Type Definition notation for describing the schema of an SGML or XML document type.
More informationFundamentals of Web Programming a
Fundamentals of Web Programming a Introduction to XML Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science a Copyright 2009 Teodor Rus. These slides have been developed by
More informationAltova 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 informationAdditional Readings on XPath/XQuery Main source on XML, but hard to read:
Introduction to Database Systems CSE 444 Lecture 10 XML XML (4.6, 4.7) Syntax Semistructured data DTDs XML Outline April 21, 2008 1 2 Further Readings on XML Additional Readings on XPath/XQuery Main source
More informationElectronic Commerce Architecture Project LAB ONE: Introduction to XML
Electronic Commerce Architecture Project LAB ONE: Introduction to XML An XML document has two required parts. The first is the definition of what data should be in the document. The second is the document
More informationXML and Web Services
XML and Web Services Lecture 8 1 XML (Section 17) Outline XML syntax, semistructured data Document Type Definitions (DTDs) XML Schema Introduction to XML based Web Services 2 Additional Readings on XML
More informationAltova 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 informationIntroduction to XML. Large Scale Programming, 1DL410, autumn 2009 Cons T Åhs
Introduction to XML Large Scale Programming, 1DL410, autumn 2009 Cons T Åhs XML Input files, i.e., scene descriptions to our ray tracer are written in XML. What is XML? XML - extensible markup language
More informationStructured 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 informationAuthor: 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 informationSession [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 informationDelivery 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 informationavenue.quark TUTORIAL
avenue.quark TUTORIAL Table of Contents Table of Contents Introduction 3 Preparing to Use avenue.quark 5 Using Rule-Based Tagging 6 Viewing Extracted XML Content 12 Adding a Rule to a Tagging Rule Set
More informationXML databases. Jan Chomicki. University at Buffalo. Jan Chomicki (University at Buffalo) XML databases 1 / 9
XML databases Jan Chomicki University at Buffalo Jan Chomicki (University at Buffalo) XML databases 1 / 9 Outline 1 XML data model 2 XPath 3 XQuery Jan Chomicki (University at Buffalo) XML databases 2
More informationChapter 16: Introduction to XML and DTD Files
Chapter 16: Introduction to XML and DTD Files The configuration files for the CRL desktop as well as for the inquiry and forms features are provided in XML format. In this chapter we provide the information
More informationXML: and related technologies
XML" XML: and related technologies extensible Markup Language (XML) Is a meta-language that describes the content of the document (self-describing data) XML does not specify the tag set or grammar of the
More informationChapter 1: Semistructured Data Management XML
Chapter 1: Semistructured Data Management XML XML - 1 The Web has generated a new class of data models, which are generally summarized under the notion semi-structured data models. The reasons for that
More informationIntroduction to XML (Extensible Markup Language)
Introduction to XML (Extensible Markup Language) 1 History and References XML is a meta-language, a simplified form of SGML (Standard Generalized Markup Language) XML was initiated in large parts by Jon
More informationOverview. Structured Data. The Structure of Data. Semi-Structured Data Introduction to XML Querying XML Documents. CMPUT 391: XML and Querying XML
Database Management Systems Winter 2004 CMPUT 391: XML and Querying XML Lecture 12 Overview Semi-Structured Data Introduction to XML Querying XML Documents Dr. Osmar R. Zaïane University of Alberta Chapter
More informationStreamServe Persuasion SP5 XMLOUT
StreamServe Persuasion SP5 XMLOUT User Guide Rev A StreamServe Persuasion SP5 XMLOUT User Guide Rev A 2001-2010 STREAMSERVE, INC. ALL RIGHTS RESERVED United States patent #7,127,520 No part of this document
More informationWhat 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 informationIntroduction 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 informationCSS, 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 informationIntroduction to Semistructured Data and XML. Overview. How the Web is Today. Based on slides by Dan Suciu University of Washington
Introduction to Semistructured Data and XML Based on slides by Dan Suciu University of Washington CS330 Lecture April 8, 2003 1 Overview From HTML to XML DTDs Querying XML: XPath Transforming XML: XSLT
More informationWeek 2: Lecture Notes. DTDs and XML Schemas
Week 2: Lecture Notes DTDs and XML Schemas In Week 1, we looked at the structure of an XML document and how to write XML. I trust you have all decided on the editor you prefer. If not, I continue to recommend
More informationChapter 1: Semistructured Data Management XML
Chapter 1: Semistructured Data Management XML 2006/7, Karl Aberer, EPFL-IC, Laboratoire de systèmes d'informations répartis XML - 1 The Web has generated a new class of data models, which are generally
More informationMicrosoft Office Excel Create a worksheet group. A worksheet group. Tutorial 6 Working With Multiple Worksheets and Workbooks
Microsoft Office Excel 2003 Tutorial 6 Working With Multiple Worksheets and Workbooks 1 Create a worksheet group A workbook is a collection of worksheets. You may want to work with the worksheets within
More informationEMERGING 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 informationTeiid Designer User Guide 7.5.0
Teiid Designer User Guide 1 7.5.0 1. Introduction... 1 1.1. What is Teiid Designer?... 1 1.2. Why Use Teiid Designer?... 2 1.3. Metadata Overview... 2 1.3.1. What is Metadata... 2 1.3.2. Editing Metadata
More informationInfor LN Studio Application Development Guide
Infor LN Studio Application Development Guide Copyright 2016 Infor Important Notices The material contained in this publication (including any supplementary information) constitutes and contains confidential
More informationLou Burnard Consulting
Getting started with oxygen Lou Burnard Consulting 2014-06-21 1 Introducing oxygen In this first exercise we will use oxygen to : create a new XML document gradually add markup to the document carry out
More informationExtensible 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 informationXML. 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 informationRelational Data Model is quite rigid. powerful, but rigid.
Lectures Desktop - 2 (C) Page 1 XML Tuesday, April 27, 2004 8:43 AM Motivation: Relational Data Model is quite rigid. powerful, but rigid. With the explosive growth of the Internet, electronic information
More information- XML. - DTDs - XML Schema - XSLT. Web Services. - Well-formedness is a REQUIRED check on XML documents
Purpose of this day Introduction to XML for parliamentary documents (and all other kinds of documents, actually) Prof. Fabio Vitali University of Bologna Introduce the principal aspects of electronic management
More informationPart II: Semistructured Data
Inf1-DA 2011 2012 II: 22 / 119 Part II Semistructured Data XML: II.1 Semistructured data, XPath and XML II.2 Structuring XML II.3 Navigating XML using XPath Corpora: II.4 Introduction to corpora II.5 Querying
More informationIntroduction to Data Management CSE 344
Introduction to Data Management CSE 344 Lecture 11: XML and XPath 1 XML Outline What is XML? Syntax Semistructured data DTDs XPath 2 What is XML? Stands for extensible Markup Language 1. Advanced, self-describing
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 28. 10. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationPrototype User Guide Public Release Version 1
Public Release Version 1 Related task of the project (Task # and full name): Author: Task 2.6 - Prototype James Carr Prepared by: Approved by: Page: 1 of 24 1 Definitions 1.1 Acronyms and Abbreviations
More informationAll other trademarks and registered trademarks are the property of their respective owners. EditList Version 1.6
Using Editlists Corporate Headquarters: Rimage Corporation 7725 Washington Avenue South Minneapolis, MN 55439 USA 800-553-8312 (toll free US) Service: +1 952-946-0004 (International) Fax: +1 952-944-6956
More information10/24/12. What We Have Learned So Far. XML Outline. Where We are Going Next. XML vs Relational. What is XML? Introduction to Data Management CSE 344
What We Have Learned So Far Introduction to Data Management CSE 344 Lecture 12: XML and XPath A LOT about the relational model Hand s on experience using a relational DBMS From basic to pretty advanced
More informationXML 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 informationXMLInput Application Guide
XMLInput Application Guide Version 1.6 August 23, 2002 (573) 308-3525 Mid-Continent Mapping Center 1400 Independence Drive Rolla, MO 65401 Richard E. Brown (reb@usgs.gov) Table of Contents OVERVIEW...
More informationXML Schema: Exercises
A7B36XML, AD7B36XML: XML Technologies Practical Classes 5 and 6: XML Schema: Exercises 31. 3. and 7. 4. 2017 Jiří Helmich helmich@ksi.mff.cuni.cz Martin Svoboda svoboda@ksi.mff.cuni.cz http://www.ksi.mff.cuni.cz/~svoboda/courses/2016-2-a7b36xml/
More informationCLASS DISCUSSION AND NOTES
CLASS DISCUSSION AND NOTES April 2011 Mon Tue Wed Thu Fri 4 5 6 7 8 AH-8 (individual) Chap. 12 XML 11 12 13 14 15 AH-9 (team) Quiz #2 I. GETTING STARTED COURSE OVERVIEW II. DATABASE DESIGN & IMPLEMENTATION
More informationUsing the Plug in Development Environment
IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation bo Table of Contents Introduction to PDE...1 Preparing the workbench...2
More information2006 Martin v. Löwis. Data-centric XML. Document Types
Data-centric XML Document Types Purpose 2006 Martin v. Löwis Document Type Definitions define a vocabulary set of allowed element names set of attributes per element name data type given for each attribute
More informationXML, DTD, and XPath. Announcements. From HTML to XML (extensible Markup Language) CPS 116 Introduction to Database Systems. Midterm has been graded
XML, DTD, and XPath CPS 116 Introduction to Database Systems Announcements 2 Midterm has been graded Graded exams available in my office Grades posted on Blackboard Sample solution and score distribution
More informationMAIL MERGE LABELS USE THE MAIL MERGE WIZARD
MAIL MERGE LABELS USE THE MAIL MERGE WIZARD When working with the Mail Merge feature, it is possible to create several types of documents, such as labels. In this document, information on how to set up
More informationUNIT I. A protocol is a precise set of rules defining how components communicate, the format of addresses, how data is split into packets
UNIT I Web Essentials: Clients, Servers, and Communication. The Internet- Basic Internet Protocols -The World Wide Web-HTTP request message-response message- Web Clients Web Servers-Case Study. Markup
More informationHTML and XML. XML stands for extensible Markup Language
HTML and XML XML stands for extensible Markup Language HTML is used to mark up text so it can be displayed to users HTML describes both structure (e.g. , , ) and appearance (e.g. , ,
More informationCSC 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 informationSemistructured Data and XML
Semistructured Data and XML Computer Science E-66 Harvard University David G. Sullivan, Ph.D. Structured Data The logical models we've covered thus far all use some type of schema to define the structure
More informationextensible 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 informationCSI 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 informationSetting Up the Development Environment
CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment
More informationmarkup 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 informationUsing UML To Define XML Document Types
Using UML To Define XML Document Types W. Eliot Kimber ISOGEN International, A DataChannel Company Created On: 10 Dec 1999 Last Revised: 14 Jan 2000 Defines a convention for the use of UML to define XML
More informationIntroduction to Database Systems CSE 414
Introduction to Database Systems CSE 414 Lecture 13: XML and XPath 1 Announcements Current assignments: Web quiz 4 due tonight, 11 pm Homework 4 due Wednesday night, 11 pm Midterm: next Monday, May 4,
More informationIMS Learning Design XML Binding
IMS Learning Design XML Binding Version 1.0 Final Specification Copyright 2003 by IMS Global Learning Consortium, Inc. All Rights Reserved. The IMS Logo is a trademark of IMS Global Learning Consortium,
More informationApplied Databases. Sebastian Maneth. Lecture 4 SAX Parsing, Entity Relationship Model. University of Edinburgh - January 21st, 2016
Applied Databases Lecture 4 SAX Parsing, Entity Relationship Model Sebastian Maneth University of Edinburgh - January 21st, 2016 2 Outline 1. SAX Simple API for XML 2. Comments wrt Assignment 1 3. Data
More informationWell-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Übung 2 Klaus Schild,
Übung 2 1 Übung 2 Fragen zur Vorlesung? In Depth: Entities Musterlösung sung des Übungblattes 1 Musterlösung sung des Übungsblattes 2 Weitere Musterfragen XML Tools: using Eclipse with DTDs XML Extra:
More information