XML and Databases (MSc/6+)

Lecturer: Dr. Can Türker

Summary: Today, the W3C standard XML is widely used as document format for exchanging data over the Internet. While the generation of XML data is easy, the management of XML data requires systems that are able to efficiently store, query, and process XML data. With other words, database technology is required for handling XML data. The goal of this lecture is to teach the interplay between XML and databases. The following aspects are studied in detail: semi-structured data model of XML, query languages (XPath, XQuery) for declarative access to XML data, XML processor technologies, mapping between XML and databases including efficient storage and index structures for XML data. A further central concern of this lecture is to show the practical relevance of all presented concepts by demonstrating how they are realized in major database management systems such as Oracle, IBM DB2, Microsoft SQL Server, and PostgreSQL.

Goal: Achieve deep understanding of XML and its interplay with database technology

Prerequisite: Databases (Bachelor level), i.e., basic knowledge in databases

Recommended: MSc Studies

Examination: 15.06.2017, 08:00-09:30, BIN 2.A.10 Universität Zürich Nord, Binzmühlestrasse 14

Credit Points: 3

Date: Thursday 08:15-09:45 BIN 2.A.10 Universität Zürich Nord, Binzmühlestrasse 14

Starts: 23.02.2017


Week Date Topic Slides Demos
8 23.02.2017 Intro and Motivation 01-Intro 01-Intro
9 02.03.2017 XML & DTD 02-XML 02-XML
10 09.03.2017 XML Schema & XML Processors 03-XML-Processors 03-XML-Processors
11 16.03.2017 XML Processors 04-XML-Query-Languages 04-XML-Query-Languages
12 23.03.2017 XML Query Languages    
13 30.03.2017 XML Query Languages    
14 06.04.2017 XML Query Languages    
15 13.04.2017 Mapping between XML and Databases 05-Mapping-XML-to-DBMS


16 20.04.2017 No lecture!    
17 27.04.2017 Mapping between XML and Databases 06-Mapping-DBMS-to-XML 06-Mapping-DBMS-to-XML​
18 04.05.2017 SQL/XML 07-SQLXML 07-SQLXML
19 11.05.2017 SQL/XML    
20 18.05.2017 XML Indexing & XML Updates & XML Support in Database Systems 08-XML-Indexing 


10-Systems (PDF, 1737 KB)


10-Systems (ZIP, 36 KB)

21 25.05.2017 No lecture!    
22 01.06.2017 XML Support in Database Systems


24 15.06.2017 Examination    


  • BASEX (Open source XML tool supporting XPath/XQuery 3.0 and Query Update Facility 1.0): http://basex.org


​Student Assistant Positions Available! Students-Assistant-Job-Announcement (PDF, 382 KB)

  • Web Application Programming on the J2EE Platform
  • Become a member of the B-Fabric Development Team: http://fgcz-bfabric.uzh.ch/wiki
  • Work time flexible; fulltime possible during semester holidays

If interested, send your CV to tuerker@fgcz.ethz.ch.