Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Media Technology Week 5: XML and Presentation Peter Verhaar.

Similar presentations


Presentation on theme: "Digital Media Technology Week 5: XML and Presentation Peter Verhaar."— Presentation transcript:

1 Digital Media Technology Week 5: XML and Presentation Peter Verhaar

2

3 □ XML as explicit representation of implicit information □ Logical structure (OHCO) □ Semantic contents: facts and interpretations; “intelligent texts” □ Editorial annotations □ Metadata Text encoding

4 ePistolarium

5 Mandala Browser

6 Vincent Van Gogh Letters

7

8 □ TEI encoding is a form of descriptive markup: it mainly describes the contents (e.g. book titles, personal names, dates) □ Form is flexible; it is generally added at a later stage, via a stylesheet XML and presentation

9 Stylesheet

10 □ Fixing the text: books / print □ Stability of form and content □ Fixity □ Inseparability of form and content Presentation on analogue medium □ Separation of form and content □ Fluidity of form □ Lack of closure Presentation on digital medium

11 Medium-neutrality TEI HTML PDF MS Word Stylesheet ePUB

12 □ eXtensible Stylesheet Language for Transformations □ XSLT stylesheet contains a ‘blueprint’ for the file to be created XSLT

13 XML Source XSLT Stylesheet XML Result

14 Flexible presentation Please find inclosed enclosed Diplomatic edition: Critical edition:

15

16 □ Separation of form and content □ Possibilities for filtering □ Textual analyses: calculations Advantages

17 Different outputs

18 Transformation to PDF □ XSL:FO (Formatting Objects) □ XSL:FO creates a “Page Design” and text can be pasted into this basic layout

19 Tree diagram of an XSLT stylesheet

20 <xsl:template match=“letter” >

21 [...]

22 □ Include a template that points to the root element of the XML source. Getting started Letter from De Erven F. Bohn to W. Blackwood and sons, January 22nd, 1873 …. … XML XSLT

23 … XML Source XSLT XML Result


Download ppt "Digital Media Technology Week 5: XML and Presentation Peter Verhaar."

Similar presentations


Ads by Google