Kalender
Logga in till din kurswebb
Du är inte inloggad på KTH så innehållet är inte anpassat efter dina val.
Ändra tidsperiod eller vy
| Vecka 45 2014 | Visa i Mitt schema | ||
| Tis 4 nov 10:00-12:00 | Föreläsning: Introduction, XML and DTD | ||
|
HT 2014 xmlpub14
Föreläsning
Lärare:
Björn Hedin
|
Anmärkning:
The lecture starts 10.15 Introduction to the course and general course information during the first hour. The second hour is devoted to introducing XML in general, and how to write DTDs, which is required to complete the first lab assignment. Prepare by reading this summary of the lectureXML is a recommendation for how different types of data can be structured in tree structures, which are easy to understand and clear to both humans and computers. Examples of areas where XML is used is xhtml for coding web pages, SMIL (the language to encode MMS), DocBook (a highly structured document description languages) and JDF (a language to transmit information between different computer systems as part of a printing process). One can roughly divide the uses of document formats like HTML and SMIL, and data format JDF. There are a number of major benefits of using an XML-based format over other types of formats, such as:
Data is described by means of a hierarchy of "elements". At the top is a "top element" such as the element "html" in the XHTML document. An element may contain zero, one or more other elements. Element is encoded in the form <element-name> element content </ element-name>. So called "attributes" can be associated to elements. For example, the attribute "href" is associated with the element 'a' in the following way in html: <a href="http://www.kth.se> Link to KTH </ a> A set of elements, attributes, and the way it is permitted to combine these is called an "XML vocabulary." Such a set of rules and restrictions ("constraints") can be defined by a DTD. If an instance document (ie an XML document containing data) is associated with a DTD, it is possible to "validate" the document against the DTD, which means that you can see if/that the instance document follows the rules that are set in the DTD. It thus provides an opportunity for a program to check that the document contains no errors. Besides the ability to validate the instance document, a DTD is an easy way to concisely define how the creator of the vocabulary meant it to be used. The risk of misunderstandings are reduced. Unfortunately, it is sometimes not possible to define every constraint the vocabulary should have using a DTD. Some limitations have to be written as comments, and these restrictions can naturally not be validated by a validator. XML Schemas, which are processed at the next opportunity, is a powerful way to express the "constraints" vocabulary creator wants expressed, and fills the same role as a DTD. A DTD describes a "content model" for elements, ie which elements of the hierarchy can be, or should be, "children" to another element. To express that an element "book" can contain exactly one element "title", one of several "authors" zero to one "initial" and zero to several "chapters" can be done by the line <!ELEMENT book (title, author +, introduction?, chapter*)> To further express that a writer has several names, zero to several middle name, and exactly one surname can be done by the line <!ELEMENT author (first-name+, middle-name*, name)> Expressing that the element "book" may have an attribute named "isbn" can be expressed by <!ATTLIST book isbn CDATA #IMPLIED> LinksFor a pre-recorded slidecast (slides + audio) of the second part, see http://www.slideshare.net/bjornh/xml-och-dtd Literature: XML in a nutshell(3) = Essential for the course
|
||
| Tis 4 nov 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
Anmärkning: | ||
| Tors 6 nov 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Fre 7 nov 10:00-12:00 | Föreläsning | ||
|
HT 2014 xmlpub14
Föreläsning
Lärare:
Björn Hedin
|
|||
| Fre 7 nov 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Vecka 46 2014 | Visa i Mitt schema | ||
| Tis 11 nov 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tis 11 nov 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tors 13 nov 13:00-15:00 | Föreläsning | ||
|
HT 2014 xmlpub14
Föreläsning
Lärare:
Björn Hedin
|
|||
| Fre 14 nov 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Vecka 47 2014 | Visa i Mitt schema | ||
| Tis 18 nov 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tis 18 nov 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tors 20 nov 13:00-15:00 | INSTÄLLT | ||
|
HT 2014 xmlpub14
Föreläsning
|
|||
| Fre 21 nov 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Vecka 48 2014 | Visa i Mitt schema | ||
| Tis 25 nov 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tis 25 nov 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Cristian M Bogdan
|
|||
| Tors 27 nov 13:00-15:00 | Möjlighet att diskutera projekt | ||
|
HT 2014 xmlpub14
Föreläsning
Lärare:
Björn Hedin
|
Detta pass fins en (frivillig) möjlighet att träffa mig och diskutera projekt högst 10 minuter per grupp. Ingen föreläsning alltså. Maila mig på bjornh@kth.se om du har intresse så meddelar jag vilken "tidslot" du får. Då får ni komma förbi mitt rum 1628 högst upp i E-huset. |
||
| Fre 28 nov 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Vecka 49 2014 | Visa i Mitt schema | ||
| Tis 2 dec 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tis 2 dec 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tors 4 dec 13:00-15:00 | Möjlighet att diskutera projekt | ||
|
HT 2014 xmlpub14
Föreläsning
Lärare:
Björn Hedin
|
Vi återupprepar förra veckans möjlighet att träffa Björn och diskutera projekt för er som vill. Maila i så fall i förväg och boka tid för 10-minutersmöte till bjornh@kth.se. Ingen föreläsning alltså. |
||
| Fre 5 dec 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Vecka 50 2014 | Visa i Mitt schema | ||
| Tis 9 dec 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tis 9 dec 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tors 11 dec 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Vecka 51 2014 | Visa i Mitt schema | ||
| Tis 16 dec 10:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tis 16 dec 13:00-15:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
Lärare:
Björn Hedin
|
|||
| Tors 18 dec 13:00-16:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
|
|||
| Fre 19 dec 09:00-12:00 | Datorlaboration | ||
|
HT 2014 xmlpub14
Datorlaboration
|
|||
| Vecka 3 2015 | Visa i Mitt schema | ||
| Ons 14 jan 09:00-12:00 | |||
|
HT 2014 xmlpub14
|
Anmärkning: Projektredovisning | ||
| Fre 16 jan 09:00-16:00 | |||
|
HT 2014 xmlpub14
|
Anmärkning: Projektredovisning | ||