Introduction to XML. Leonidas Fegaras. CSE 6331 Leonidas Fegaras XML 1

Size: px
Start display at page:

Download "Introduction to XML. Leonidas Fegaras. CSE 6331 Leonidas Fegaras XML 1"

Transcription

1 Introduction to XML Leonidas Fegaras CSE 6331 Leonidas Fegaras XML 1

2 Traditional DB Applications Typically business oriented Large amount of data Data is well structured, normalized, with predefined schema Large number of concurrent users (transactions) Simple data, simple queries, and simple updates Typically update intensive Small transactions High performance, high availability, scalability Data integrity and security are of major importance Good administrative support, nice GUIs CSE 6331 Leonidas Fegaras XML 2

3 Document Applications Human friendly: what you see is what you get paradigm Focus on presentation Information is divided into multiple small documents Mostly static Implicit structure: section, subsection, paragraph, etc Meta data: title, author, date, indexing keywords, etc Content structure: form/layout, inter relationships, references Tagging: eg, <p> for new paragraph Operations: retrieving, editing, spell checking, printing, etc Information retrieval: keyword queries most successful in web search engines (eg, Google) CSE 6331 Leonidas Fegaras XML 3

4 Internet Applications Challenges: Use heterogeneous, complex, hierarchical, fast evolving, unstructured/semistructured data Access mostly read only data Need 100% availability Manage millions of users world wide Have high performance requirements Are concerned with security (encryption) Like to customize data in a personalized manner Expect to gain user s trust for business to consumer transactions. Internet users choose speed and availability over correctness CSE 6331 Leonidas Fegaras XML 4

5 Electronic Commerce Currently, mostly business to business (B2B) rather than business to consumer (B2C) interactions Focus on selling and buying: Order management Product catalogs Product configuration Sales and marketing Education and training Service Communities CSE 6331 Leonidas Fegaras XML 5

6 Other Web Applications Web integration Heterogeneous data sources and types Thousands of web accessible data sources Dynamic data Data warehouses Web publishing Access different types of content from browsers (eg, , PDF, HTML, XML) Structured, dynamic, customized/personalized content Integration with application Accessible via major gateways and search engines Application integration Transformation between different application data formats (eg, XML, HTML) Integration of multiple applications CSE 6331 Leonidas Fegaras XML 6

7 Current Internet Application Architectures Architecture: Server Tier: relational databases and gateways to diverse data sources, such as, files, OLE/DB etc. Use of enterprise servers Middle Tier: provides data integration & distribution, query, etc. Consists of a web server and an application server Client Tier: mostly a web browser, may use CGI scripts or Java Characteristics: Customization is achieved at the server site (customer data in a database) with some data at the client site (cookies) Load balancing is typically hardware based (multiple servers, DNS routers) CSE 6331 Leonidas Fegaras XML 7

8 HTML opening tag closing tag <html> </html> <head><title>my Web Page</title></head> <body> <h1>introduction</h1> Look at <a href= >this document</a> <img src= image.jpg width=100 height=50> </body> attribute name hypertext link attribute value It is very simple: human readable, can be edited by any editor It reflects document presentation, not the semantics or structure of data Universal: portable to any platform HTML pages are connected through hypertext links HTML pages can be located using web search engines CSE 6331 Leonidas Fegaras XML 8

9 XML XML (extensible Markup Language) is a textual language for representing and exchanging data on the web. It is designed to improve the functionality of the Web by providing more flexible and adaptable information identification Based on SGML and was developed around 1996 It is called extensible because it is not a fixed format like HTML (a single, predefined markup language). Instead, XML is actually a metalanguage a language for describing other languages which lets you design your own customized markup languages for limitless different types of documents XML can be untyped (semistructured), but there are standards now for schema conformance (DTD and XML Schema) Without schema, an XML document is well formed if it satisfies simple syntactic constraints: proper nesting of start and end tags CSE 6331 Leonidas Fegaras XML 9

10 Example <people> <person> <name> Leonidas Fegaras </name> <tel> (817) </tel> < > </ > </person> <person> <name> Ramez Elmasri </name> <tel> (817) </tel> < > </ > </person> </people> CSE 6331 Leonidas Fegaras XML 10

11 Why XML is so Popular? It looks like HTML simple, human readable, easy to learn, universal Flexible & extensible, since you can represent any kind of data unlike HTML HTML describes the presentation while XML describes the content Precise well formed: properly nested XML tags valid: its structure may conform to a DTD or an XML Schema Supported by the W3C trusted and adopted by industry Many standards around XML: schemas, query languages, etc CSE 6331 Leonidas Fegaras XML 11

12 What XML has to do with Databases? XML is an important standardization for data representation and exchange, but still needs to store and query large repositories of XML documents data models and schema representations query languages, data indexing, query optimizers updates, view maintenance concurrency, distribution, security, etc Example application: an XML data repository distributed in a peer to peer network answer queries, such as: find all books whose author is Smith and whose title contains the word XML much like a web search engine, but for XML,... and for more precise querying CSE 6331 Leonidas Fegaras XML 12

13 XML Syntax XML consists of tags and text XML documents conform to the following grammar: XMLdocument ::= Pi* Element Pi* Element ::= Stag (char Pi Element)* Etag Stag ::= '<'Name Atts '> Etag ::= '</'Name '> Pi ::= '<?'char* '?> Atts ::= ( Name '='String )* String ::= '"'char* '" Tags come in pairs <date>8/25/2004</date> and must be properly nested: <person> <name>... </name>... </person> valid nesting <person> <name>... </person>... </name> invalid nesting Text is bounded by tags. PCDATA: parsed character data. eg, <title> The Big Sleep </title> <year> 1935 </ year> CSE 6331 Leonidas Fegaras XML 13

14 XML Elements An element is a segment of an XML document between an opening and the matching closing tags <person> <name> Ramez Elmasri </name> <tel> (817) </tel> < > elmasri@cse.uta.edu </ > </person> An element may contain a mixture of sub elements and PCDATA <title>an <em>element</em> is a segment</title> An abbreviation: for an element with empty content, we can use: <tagname... /> instead of: <tagname...></tagname> CSE 6331 Leonidas Fegaras XML 14

15 Representing Data Using XML Nesting tags can be used to express various structures, such as a record: <person> <name> Ramez Elmasri </name> <tel> (817) </tel> < > elmasri@cse.uta.edu </ > </person> We can represent a list by using the same tag repeatedly: <addresses> <person>... </person> <person>... </person> <person>... </person>... </addresses> CSE 6331 Leonidas Fegaras XML 15

16 XML structure XML: is Lisp like: <person> </person> (person (name Ramez Elmasri ) <name> Ramez Elmasri </name> <tel> (817) </tel> < > elmasri@cse.uta.edu </ > (tel (817) ) ( elmasri@cse.uta.edu )) and tree like: person name tel Ramez Elmasri (817) elmasri@cse.uta.edu CSE 6331 Leonidas Fegaras XML 16

17 Attributes An opening tag may contain attributes typically used to describe the content of an element <author ssn=" "> <name>ramez Elmasri</name> < > </ > </author> It's not always clear when to use attributes <author> <ssn> </ssn> <name>ramez Elmasri</name> < > </ > </author> ID attributes are special: must be unique within the document An IDref attribute must refer to an existing ID in the same doc CSE 6331 Leonidas Fegaras XML 17

18 Referencing Elements Using IDs/IDrefs <family> <person id="jane" mother="mary" father="john"> <name> Jane Doe </name> </person> <person id="john" children="jane jack"> <name> John Doe </name> <mother/> </person> <person id="mary" children="jane jack"> <name> Mary Doe </name> </person> <person id="jack" mother= mary" father="john"> <name> Jack Doe </name> </person> </family> CSE 6331 Leonidas Fegaras XML 18

19 A Complete Example <?xml version="1.0"?> <!DOCTYPE bib SYSTEM "bib.dtd"> <bib> <vendor id="id0_1"> <name>amazon</name> <phone> </phone> <book> <title>unix Network Programming</title> <publisher>addison Wesley</publisher> <year>1995</year> <author> <firstname>richard</firstname> <lastname>stevens</lastname> </author> <price>38.68</price> </book> <book> <title>an Introduction to Object Oriented Design</title> <publisher>addison Wesley</publisher> <year>1996</year> <author> <firstname>jo</firstname> <lastname>levin</lastname> </author> <author> <firstname>harold</firstname> <lastname>perry</lastname> </author> <price>11.55</price> </book> </vendor> </bib> CSE 6331 Leonidas Fegaras XML 19

20 OODB Schema class Movie ( extent Movies, key title ) { attribute string title; attribute string director; relationship set<actor> casts inverse Actor::acted_In; attribute int budget; } ; class Actor ( extent Actors, key name ) { attribute string name; relationship set<movie> acted_in inverse Movie::casts; attribute int age; attribute set<string> directed; } ; CSE 6331 Leonidas Fegaras XML 20

21 In XML <db> <movie id= m1 > <title>waking Ned Divine</title> <director>kirk Jones III</director> <cast idrefs= a1 a3 ></cast> <budget>100,000</budget> </movie> <movie id= m2 > <title>dragonheart</title> <director>rob Cohen</director> <cast idrefs= a2 a9 a21 ></cast> <budget>110,000</budget> </movie> <movie id= m3 > <title>moondance</title> <director>dagmar Hirtz</director> <cast idrefs= a1 a8 ></cast> <budget>90,000</budget> </movie> <actor id= a1 > <name>david Kelly</name> <acted_in idrefs= m1 m3 m78 > </acted_in> </actor> <actor id= a2 > <name>sean Connery</name> <acted_in idrefs= m2 m9 m11 > </acted_in> <age>68</age> </actor> <actor id= a3 > <name>ian Bannen</name> <acted_in idrefs= m1 m35 > </acted_in> </actor> : </db> CSE 6331 Leonidas Fegaras XML 21

22 DTD: Document Type Descriptor A DTD imposes a structure on an XML document Not quite a typing system it is purely syntactic now replaced by XML Schema Uses regular expressions to specify structure firstname an element with tag name firstname book* zero or more books year? an optional year firstname,lastname a firstname followed by lastname book journal either a book or a journal CSE 6331 Leonidas Fegaras XML 22

23 Example of XML Data <bib> <vendor id="id0_1"> <name>amazon</name> <phone> </phone> <book> <title>unix Network Programming</title> <publisher>addison Wesley</publisher> <year>1995</year> <author> <firstname>richard</firstname> <lastname>stevens</lastname> </author> <price>38.68</price> </book>... </vendor> </bib> CSE 6331 Leonidas Fegaras XML 23

24 DTD Example <?xml encoding="iso "?> <!ELEMENT bib (vendor)*> <!ELEMENT vendor (name, , book*)> <!ATTLIST vendor id ID #REQUIRED> <!ELEMENT book (title, publisher?, year?, author+, price)> <!ELEMENT author (firstname?, lastname)> <!ELEMENT name (#PCDATA)> <!ELEMENT (#PCDATA)> <!ELEMENT title (#PCDATA)> <!ELEMENT publisher (#PCDATA)> <!ELEMENT year (#PCDATA)> <!ELEMENT firstname (#PCDATA)> <!ELEMENT lastname (#PCDATA)> <!ELEMENT price (#PCDATA)> CSE 6331 Leonidas Fegaras XML 24

25 Summary of the DTD Syntax A tagged element in a DTD is defined by <!ELEMENT name e> where e is a DTD expression If e, e1, e2 are DTD expressions, then so are: EMPTY empty content #PCDATA any text A an element with tag name A e1,e2 e1 followed by e2 e1 e2 either e1 or e2 e* zero or more occurrences of e e+ one or more occurrences of e e? optional e (zero or one occurrences) (e) Note: tagged elements are global must be defined once in a DTD CSE 6331 Leonidas Fegaras XML 25

26 DTD Syntax (cont.) Attribute specification: <!ATTLIST name (attribute name type accuracy?)+> type is: ID must be unique within the document IDREF a reference to an existing ID IDREFS multiple IDREFs CDATA any string accuracy is #REQUIRED, #IMPLIED, #FIXED 'value', value 'v1... vn' ID, IDref, and IDrefs attributes are not typed! Example: <!ELEMENT person (#PCDATA)> <!ATTLIST person id ID #REQUIRED children IDrefs #IMPLIED > the id attribute is required while the children attribute is optional CSE 6331 Leonidas Fegaras XML 26

27 Connecting an XML document to a DTD In line the DTD into the XML file: <?xml version= 1.0?> <!DOCTYPE db [ <!ELEMENT person...>... ]> <db> <person>... </person>... </db> DTD XML data Better: put the DTD in a separate file and reference it by URL: <!DOCTYPE db SYSTEM > Documents are validated against their DTD before they are used CSE 6331 Leonidas Fegaras XML 27

28 Recursive DTDs We want to capture a person with a mother and a father First attempt: <!ELEMENT person (name, address, person, person)> where the first person is the mother while the second is the father Second attempt: <!ELEMENT person (name, address, person?, person?)> Third attempt: <!ELEMENT person (name, address)> <!ATTLIST person id ID #REQUIRED mother IDREF #IMPLIED father IDREF #IMPLIED> CSE 6331 Leonidas Fegaras XML 28

29 Back to the OODB Schema class Movie ( extent Movies, key title ) { attribute string title; attribute string director; relationship set<actor> casts inverse Actor::acted_In; attribute int budget; } ; class Actor ( extent Actors, key name ) { attribute string name; relationship set<movie> acted_in inverse Movie::casts; attribute int age; attribute set<string> directed; } ; CSE 6331 Leonidas Fegaras XML 29

30 DTD <!ELEMENT db (movie+, actor+)> <!ELEMENT movie (title, director, cast, budget)> <!ATTLIST movie id ID #REQUIRED> <!ELEMENT title (#PCDATA)> <!ELEMENT director (#PCDATA)> <!ELEMENT cast EMPTY> <!ATTLIST cast IDREFS #REQUIRED> <!ELEMENT budget (#PCDATA)> <!ELEMENT actor (name, acted_in, age, directed*)> <!ELEMENT name (#PCDATA)> <!ELEMENT acted_in EMPTY> <!ATTLIST acted_in IDREFS #REQUIRED> <!ELEMENT age (#PCDATA)> <!ELEMENT directed (#PCDATA)> CSE 6331 Leonidas Fegaras XML 30

31 XML Namespaces When merging multiple docs together, name collisions may occur A namespace is a mechanism for uniquely naming tagnames and attribute names to avoid name conflicts Tag/attribute names are now qualified names (QNames) (namespace ':')? localname example: bib:author A document may use multiple namespaces A DTD has its own namespace in which all names are unique A namespace in an XML doc is defined as an attribute: xmlns:bib= where bib is the namespace name and the URL is the location of the DTD The default namespace is defined as xmlns= URL If not defined, it is the global namespace CSE 6331 Leonidas Fegaras XML 31

32 Example <item xmlns= xmlns:toy= > <name>backpack</name> <feature> <toy:item> <toy:name>cyberpet</toy:name> </toy:item> </feature> </item> CSE 6331 Leonidas Fegaras XML 32

33 Query Languages for XML Need a language for XML data for extracting fragments (querying) restructuring (data transformation) integrating (eg, combining multiple XML documents) browsing presentation (eg, from XML to HTML) We will first learn XPath used in extracting fragments from a single document many XML query languages are based on XPath We will briefly discuss XSLT for extracting, restructuring, and presentation over a single document We will focus later on XQuery a full fledged query language much like OQL CSE 6331 Leonidas Fegaras XML 33

34 XPath Describes a single navigation path in an XML document Selects a sequence of nodes reachable by the path the order of nodes is the document order Main construct: axis navigation Consists of one or more navigation steps separated by / A navigation step is a triplet axis :: node test list of predicates Each navigation path is evaluated relative to a context node Examples: /child::bib /descendant::author /descendant::book [ /child::author = Smith ] /child::title Most people use shorthands /bib//author //book[author= Smith ]/title CSE 6331 Leonidas Fegaras XML 34

35 Axis Navigation In the beginning, the context node is the document root Dot (.) identifies the context node Some navigation steps: / the root node // the root node and its descendants./author all the children of the context node with tagname author; the context node of the next step is each of these children.// the context node and all its descendants; the context node of the next step is each of the the attribute value of the attribute name mother of the context node./* all the children of the context node.. parent of context node text() all the text children of the context node Shortcut: you can remove./ CSE 6331 Leonidas Fegaras XML 35

36 Example <a> <b> <c></c> <b></b> </b> <d> <c></c> </d> <b> <d></d> </b> </a> c b b 1 a d b c d /./a or /a > [1] /./a./b or /a/b > [2,4] /a/c > [] /a/*/c > [5,7] //b > [2,6,4] //b/c > [5] /a//c > [5,7] CSE 6331 Leonidas Fegaras XML 36

37 Predicates Many variations [10] the tenth child node of the context node [last()] the last child node of the context node [author] true, if the context node has at least one child tagged author [author/name] true, if the XPath./author/name is nonempty author[name= Smith ] true if the author name is Smith Examples /bib/book[@price < 100 ]/title /bib/book[author/text()] author[name/firstname= Smith and name/lastname= John ]/title /bib/book/author[name/firstname][address[//zip][city]]/name/lastname CSE 6331 Leonidas Fegaras XML 37

Introduction. Leonidas Fegaras University of Texas at Arlington. Web Data Management and XML L1: Introduction 1

Introduction. Leonidas Fegaras University of Texas at Arlington. Web Data Management and XML L1: Introduction 1 Introduction Leonidas Fegaras University of Texas at Arlington Web Data Management and XML L1: Introduction 1 Information Class: TuTh 2:00-3:20pm (NH 111) Instructor: Leonidas Fegaras Office: GACB 115

More information

Information. Introduction. Description. Outcome

Information. Introduction. Description. Outcome Information Introduction Leonidas Fegaras University of Texas at Arlington Class: TuTh 5:30-6:50pm Instructor: Leonidas Fegaras Office: ERB 653 (Engineering Research Bldg) Phone: 817-272-3629 Email: fegaras@cse.uta.edu

More information

Office hours: Tuesday and Thursday 3:30-5:00pm. project description, class notes, grades, etc. Web Data Management and XML L1: Introduction 2

Office hours: Tuesday and Thursday 3:30-5:00pm. project description, class notes, grades, etc. Web Data Management and XML L1: Introduction 2 Introduction Leonidas Fegaras University of Texas at Arlington Web Data Management and XML L1: Introduction 1 Description XML has become an important standardization for data representation and information

More information

XML, 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. 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 information

Introduction 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. 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 information

Introduction to Data Management CSE 344

Introduction 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 information

Introduction to Database Systems CSE 414

Introduction 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 information

Query Engines for Web-Accessible XML Data

Query Engines for Web-Accessible XML Data Query Engines for Web-Accessible XML Data Leonidas Fegaras Ramez Elmasri University of Texas at Arlington Fegaras & Elmasri CSE @ UTA 1 I will present: Adding XML Support to an OODB an extension to ODMG

More information

Data Presentation and Markup Languages

Data 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 information

10/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

10/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 information

Introduction to Database Systems CSE 444

Introduction to Database Systems CSE 444 Introduction to Database Systems CSE 444 Lecture 25: XML 1 XML Outline XML Syntax Semistructured data DTDs XPath Coverage of XML is much better in new edition Readings Sections 11.1 11.3 and 12.1 [Subset

More information

Introduction 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, 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 information

Querying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data

Querying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data Querying XML Data Querying XML has two components Selecting data pattern matching on structural & path properties typical selection conditions Construct output, or transform data construct new elements

More information

Introduction to Database Systems CSE 414

Introduction 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 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

Introduction to Semistructured Data and XML

Introduction to Semistructured Data and XML Introduction to Semistructured Data and XML Chapter 27, Part D Based on slides by Dan Suciu University of Washington Database Management Systems, R. Ramakrishnan 1 How the Web is Today HTML documents often

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

Chapter 13 XML: Extensible Markup Language

Chapter 13 XML: Extensible Markup Language Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server

More information

(One) Layer Model of the Semantic Web. Semantic Web - XML XML. Extensible Markup Language. Prof. Dr. Steffen Staab Dipl.-Inf. Med.

(One) Layer Model of the Semantic Web. Semantic Web - XML XML. Extensible Markup Language. Prof. Dr. Steffen Staab Dipl.-Inf. Med. (One) Layer Model of the Semantic Web Semantic Web - XML Prof. Dr. Steffen Staab Dipl.-Inf. Med. Bernhard Tausch Steffen Staab - 1 Steffen Staab - 2 Slide 2 Extensible Markup Language Purpose here: storing

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: 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

Querying XML. COSC 304 Introduction to Database Systems. XML Querying. Example DTD. Example XML Document. Path Descriptions in XPath

Querying XML. COSC 304 Introduction to Database Systems. XML Querying. Example DTD. Example XML Document. Path Descriptions in XPath COSC 304 Introduction to Database Systems XML Querying Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Querying XML We will look at two standard query languages: XPath

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

Additional Readings on XPath/XQuery Main source on XML, but hard to read:

Additional 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 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

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

XML and information exchange. XML extensible Markup Language XML

XML and information exchange. XML extensible Markup Language XML COS 425: Database and Information Management Systems XML and information exchange 1 XML extensible Markup Language History 1988 SGML: Standard Generalized Markup Language Annotate text with structure 1992

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

Query Processing of XML Data

Query Processing of XML Data Query Processing of XML Data Leonidas Fegaras University of Texas at Arlington Leonidas Fegaras May 2002 1 Traditional DB Applications Characteristics: Typically business oriented Large amount of data

More information

Introduction to XML. National University of Computer and Emerging Sciences, Lahore. Shafiq Ur Rahman. Center for Research in Urdu Language Processing

Introduction 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 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

Part 2: XML and Data Management Chapter 6: Overview of XML

Part 2: XML and Data Management Chapter 6: Overview of XML Part 2: XML and Data Management Chapter 6: Overview of XML Prof. Dr. Stefan Böttcher 6. Overview of the XML standards: XML, DTD, XML Schema 7. Navigation in XML documents: XML axes, DOM, SAX, XPath, Tree

More information

XML and Web Services

XML 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 information

One of the main selling points of a database engine is the ability to make declarative queries---like SQL---that specify what should be done while

One of the main selling points of a database engine is the ability to make declarative queries---like SQL---that specify what should be done while 1 One of the main selling points of a database engine is the ability to make declarative queries---like SQL---that specify what should be done while leaving the engine to choose the best way of fulfilling

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

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

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.

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

EXtensible Markup Language (XML) a W3C standard to complement HTML A markup language much like HTML

EXtensible Markup Language (XML)   a W3C standard to complement HTML A markup language much like HTML XML and XPath EXtensible Markup Language (XML) a W3C standard to complement HTML A markup language much like HTML origins: structured text SGML motivation: HTML describes presentation XML describes content

More information

Semistructured Data and XML

Semistructured 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 information

Chapter 1: Semistructured Data Management XML

Chapter 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 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

XML. Semi-structured data (SSD) SSD Graphs. SSD Examples. Schemas for SSD. More flexible data model than the relational model.

XML. Semi-structured data (SSD) SSD Graphs. SSD Examples. Schemas for SSD. More flexible data model than the relational model. Semi-structured data (SSD) XML Semistructured data XML, DTD, (XMLSchema) XPath, XQuery More flexible data model than the relational model. Think of an object structure, but with the type of each object

More information

XQuery. Leonidas Fegaras University of Texas at Arlington. Web Databases and XML L7: XQuery 1

XQuery. Leonidas Fegaras University of Texas at Arlington. Web Databases and XML L7: XQuery 1 XQuery Leonidas Fegaras University of Texas at Arlington Web Databases and XML L7: XQuery 1 XQuery Influenced by SQL Based on XPath Purely functional language may access elements from documents, may construct

More information

CSE 880. Advanced Database Systems. Semistuctured Data and XML

CSE 880. Advanced Database Systems. Semistuctured Data and XML CSE 880 Advanced Database Systems Semistuctured Data and XML S. Pramanik 1 Semistructured Data 1. Data is self describing with schema embedded to the data itself. 2. Theembeddedschemacanchangewithtimejustlike

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

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr. COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for

More information

UNIT 3 XML DATABASES

UNIT 3 XML DATABASES UNIT 3 XML DATABASES XML Databases: XML Data Model DTD - XML Schema - XML Querying Web Databases JDBC Information Retrieval Data Warehousing Data Mining. 3.1. XML Databases: XML Data Model The common method

More information

Chapter 1: Semistructured Data Management XML

Chapter 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 information

Enabling Grids for E-sciencE ISSGC 05. XML documents. Richard Hopkins, National e-science Centre, Edinburgh June

Enabling Grids for E-sciencE ISSGC 05. XML documents. Richard Hopkins, National e-science Centre, Edinburgh June ISSGC 05 XML documents Richard Hopkins, National e-science Centre, Edinburgh June 2005 www.eu-egee.org Overview Goals General appreciation of XML Sufficient detail to understand WSDLs Structure Philosophy

More information

XML 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 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 information

Introduction to XML. Chapter 133

Introduction 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 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

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

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

XPath and XQuery. Introduction to Databases CompSci 316 Fall 2018

XPath and XQuery. Introduction to Databases CompSci 316 Fall 2018 XPath and XQuery Introduction to Databases CompSci 316 Fall 2018 2 Announcements (Tue. Oct. 23) Homework #3 due in two weeks Project milestone #1 feedback : we are a bit behind, but will definitely release

More information

M359 Block5 - Lecture12 Eng/ Waleed Omar

M359 Block5 - Lecture12 Eng/ Waleed Omar Documents and markup languages The term XML stands for extensible Markup Language. Used to label the different parts of documents. Labeling helps in: Displaying the documents in a formatted way Querying

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

Overview. Structured Data. The Structure of Data. Semi-Structured Data Introduction to XML Querying XML Documents. CMPUT 391: XML and Querying XML

Overview. 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 information

XML in Databases. Albrecht Schmidt. al. Albrecht Schmidt, Aalborg University 1

XML in Databases. Albrecht Schmidt.   al. Albrecht Schmidt, Aalborg University 1 XML in Databases Albrecht Schmidt al@cs.auc.dk http://www.cs.auc.dk/ al Albrecht Schmidt, Aalborg University 1 What is XML? (1) Where is the Life we have lost in living? Where is the wisdom we have lost

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

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML

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

Data Formats and APIs

Data Formats and APIs Data Formats and APIs Mike Carey mjcarey@ics.uci.edu 0 Announcements Keep watching the course wiki page (especially its attachments): https://grape.ics.uci.edu/wiki/asterix/wiki/stats170ab-2018 Ditto for

More information

Introduction to Semistructured Data and XML. Contents

Introduction to Semistructured Data and XML. Contents Contents Overview... 106 What is XML?... 106 How the Web is Today... 108 New Universal Data Exchange Format: XML... 108 What is the W3C?... 108 Semistructured Data... 110 What is Self-describing Data?...

More information

Introduction to XML 3/14/12. Introduction to XML

Introduction to XML 3/14/12. Introduction to XML Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML

More information

Introduction to Database Systems. Fundamental Concepts

Introduction to Database Systems. Fundamental Concepts Introduction to Database Systems Fundamental Concepts Werner Nutt 1 Characteristics of the DB Approach Insulation of application programs and data from each other Use of a ue to store the schema Support

More information

XML Data Management. 6. XPath 1.0 Principles. Werner Nutt

XML Data Management. 6. XPath 1.0 Principles. Werner Nutt XML Data Management 6. XPath 1.0 Principles Werner Nutt 1 XPath Expressions and the XPath Document Model XPath expressions are evaluated over documents XPath operates on an abstract document structure

More information

A DTD-Syntax-Tree Based XML file Modularization Browsing Technique

A DTD-Syntax-Tree Based XML file Modularization Browsing Technique IJCSNS International Journal of Computer Science and Network Security, VOL.6 No.2A, February 2006 127 A DTD-Syntax-Tree Based XML file Modularization Browsing Technique Zhu Zhengyu 1, Changzhi Li, Yuan

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

Databases and Internet Applications

Databases and Internet Applications Databases and Internet Applications Part 1 Chapter 7.1-7.5 Comp 521 Files and Databases Fall 2016 1 Uniform Resource Identifiers Uniform naming schema to identify resources on the Internet A resource can

More information

Text Properties and Languages

Text Properties and Languages Text Properties and Languages 1 Statistical Properties of Text How is the frequency of different words distributed? How fast does vocabulary size grow with the size of a corpus? Such factors affect the

More information

Introduction to XML (Extensible Markup Language)

Introduction 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 information

Introduction to Information Retrieval

Introduction to Information Retrieval Introduction to Information Retrieval WS 2008/2009 25.11.2008 Information Systems Group Mohammed AbuJarour Contents 2 Basics of Information Retrieval (IR) Foundations: extensible Markup Language (XML)

More information

ADT 2005 Lecture 7 Chapter 10: XML

ADT 2005 Lecture 7 Chapter 10: XML ADT 2005 Lecture 7 Chapter 10: XML Stefan Manegold Stefan.Manegold@cwi.nl http://www.cwi.nl/~manegold/ Database System Concepts Silberschatz, Korth and Sudarshan The Challenge: Comic Strip Finder The Challenge:

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

SEARCH SEMI-STRUCTURED DATA ON WEB

SEARCH SEMI-STRUCTURED DATA ON WEB SEARCH SEMI-STRUCTURED DATA ON WEB Sabin-Corneliu Buraga 1, Teodora Rusu 2 1 Faculty of Computer Science, Al.I.Cuza University of Iaşi, Romania Berthelot Str., 16 6600 Iaşi, Romania, tel: +40 (32 201529,

More information

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

XML 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 information

Fundamentals of Web Programming a

Fundamentals 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 information

XML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web pages:

XML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web pages: XML Technologies Doc. RNDr. Irena Holubova, Ph.D. holubova@ksi.mff.cuni.cz Web pages: http://www.ksi.mff.cuni.cz/~holubova/nprg036/ Outline Introduction to XML format, overview of XML technologies DTD

More information

.. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar..

.. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar.. .. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar.. XML in a Nutshell XML, extended Markup Language is a collection of rules for universal markup of data. Brief History

More information

XML. extensible Markup Language. Overview. Overview. Overview XML Components Document Type Definition (DTD) Attributes and Tags An XML schema

XML. 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 information

Part II: Semistructured Data

Part 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 information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies Database Systems: Design, Implementation, and Management Tenth Edition Chapter 14 Database Connectivity and Web Technologies Database Connectivity Mechanisms by which application programs connect and communicate

More information

Introduction to XML. Large Scale Programming, 1DL410, autumn 2009 Cons T Åhs

Introduction 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 information

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0 CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson

More information

Information Systems. DTD and XML Schema. Nikolaj Popov

Information 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 information

Semistructured Content

Semistructured Content On our first day Semistructured Content 1 Structured data : database system tagged, typed well-defined semantic interpretation Semi-structured data: tagged - XML (HTML?) some help with semantic interpretation

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

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

IBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free

IBM. 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 information

CSCI3030U Database Models

CSCI3030U Database Models CSCI3030U Database Models CSCI3030U RELATIONAL MODEL SEMISTRUCTURED MODEL 1 Content Design of databases. relational model, semistructured model. Database programming. SQL, XPath, XQuery. Not DBMS implementation.

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

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

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

Querying purexml Part 1 The Basics

Querying purexml Part 1 The Basics Information Management Emerging Partnerships and Technologies IBM Toronto Lab Summer/Fall 2010 Querying purexml Part 1 The Basics Li Chen, Shumin Wu Questions to malaika@us.ibm.com http://www.ibm.com/developerworks/wikis/display/db2xml/devotee

More information

Introduction to XML. When talking about XML, here are some terms that would be helpful:

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 information

Solutions. a. Yes b. No c. Cannot be determined without the DTD. d. Schema. 9. Explain the term extensible. 10. What is an attribute?

Solutions. a. Yes b. No c. Cannot be determined without the DTD. d. Schema. 9. Explain the term extensible. 10. What is an attribute? Chapter 7: Information Representation Method XML Solutions Summative Assessment Multiple-Choice Questions (MCQs) 1. XML was developed to overcome the limitations of the markup language. a. EDI b. SGML

More information

XML Extensible Markup Language

XML Extensible Markup Language XML Extensible Markup Language Generic format for structured representation of data. DD1335 (Lecture 9) Basic Internet Programming Spring 2010 1 / 34 XML Extensible Markup Language Generic format for structured

More information

Advances in Programming Languages

Advances in Programming Languages T O Y H Advances in Programming Languages APL17: XML processing with CDuce David Aspinall (see final slide for the credits and pointers to sources) School of Informatics The University of Edinburgh Friday

More information