DM2517 XML for Publishing 7.5 credits

XML för publicering

An advanced course on information structuring, multi channel publishing using XML, a general recommendation for data structuring.

  • Education cycle

    Second cycle
  • Main field of study

    Computer Science and Engineering
    Information Technology
    Information and Communication Technology
  • Grading scale

    A, B, C, D, E, FX, F

Course offerings

Autumn 19 xmlpub19 for programme students

  • Periods

    Autumn 19 P2 (7.5 credits)

  • Application code


  • Start date


  • End date


  • Language of instruction


  • Campus

    KTH Campus

  • Tutoring time


  • Form of study


  • Number of places

    No limitation

  • Course responsible

    Björn Hedin <>

  • Teacher

    Björn Hedin <>

  • Target group

    Searchable for all programmes from year 3 and for students admitted to a master programme.

  • Part of programme

Autumn 18 for programme students

Intended learning outcomes

The goals of the course are that the student shall be able to

  • develop XML based interactive web systems using W3C's principles for Device Independence.
  • analyze and model the content-, navigation- and interaction models for an information system, and implement this in XML and database terms.
  • use relational databases for web programming
  • account for and apply the XML concepts valid, well formed, xslt-transformations, dtd and some examples of XML bases vocabularies used in media technology.
  • account for differences between modeling information in a relational database and modeling information in an XML structure.
  • formulate, plan and implement an information system development
  • find solutions to programming problems on the internet

so that they will

  • be able to do independent and make independent and critical judgments
  • be able to independently discern, formulate and solve problems
  • be able to seek and evaluate knowledge
  • be able to follow knowledge development and
  • gain the ability to participate in development and use of XML technology in production and development work.

Course main content

XML and XML related technologies with a focus on publishing and parallel publishing for use in interactive information systems. The most important part is transformations between different XML vocabularies using XSLT. Other areas covered are constraints with DTDs and XML Schemas, XML based searches with XPath and XQuery, layout with CSS and XSL Formatting Objects, HTML5, SVG, mobile adapted web, micro formats, xml-based document formats like epub and docx, metadata, RDF and RSS.

Half of the course consists of lectures and exercises in the areas mentioned above. Some areas are non-mandatory and not included in lectures, but can be read in order to get a higher grade. Most lectures are also available as enhanced podcasts and slidecasts. The other half of the course is a programming project where an XML-based interactive web information system is built. Both the exercises and the project require independent work outside of the schedule, especially for students interested in higher grades


Single course students: 90 university credits including 45 university credits in Mathematics or Information Technology. Swedish B or equivalent and English B or equivalent.

Recommended prerequisites

Write html code without a graphical editor.
A basic course in programming
Write simple dynamic web pages using some programming language, preferably PHP:
Model simple databases.
Use SQL to query databases.

These skills can be obtained by following the courses DD1310, DD1314, DD1320 and DD1334.


Will be announced at least 4 weeks before course start at course web page. Preliminary: E. Rusty: XML in a nutshell, O’Reilly.


  • LAB1 - Laborator Work, 7.5, grading scale: A, B, C, D, E, FX, F

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see:

Requirements for final grade

Laboratory work and a project (LAB1; 7,5 university credits).

Offered by

EECS/Human Centered Technology


Björn Hedin, tel: 790 6990, e-post:


Björn Hedin <>

Supplementary information

The course cannot be counted in the degree if the student has taken the course DM2033.

Add-on studies

DM2518 Mobile Development with Webb Technologies and DD2390 Internet Programming.


Course syllabus valid from: Spring 2019.
Examination information valid from: Spring 2019.