Skip to main content

DM2517 XML for Publishing 7.5 credits

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

Course offering missing for current semester as well as for previous and coming semesters
Headings with content from the Course syllabus DM2517 (Spring 2019–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

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

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 disposition

No information inserted

Literature and preparations

Specific prerequisites

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.


No information inserted


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

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

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


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

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

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

Other requirements for final grade

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

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Profile picture Björn Hedin

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web DM2517

Offered by

EECS/Human Centered Technology

Main field of study

Computer Science and Engineering, Information Technology, Information and Communication Technology

Education cycle

Second cycle

Add-on studies

DM2518 Mobile Development with Webb Technologies and DD2390 Internet Programming.


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

Supplementary information

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

In this course, the EECS code of honor applies, see: