TEI by Example Module 5: Drama Ron Van den Branden Edward Vanhoutte Melissa Terras Association for Literary and Linguistic Computing (ALLC) Centre for Data, Culture and Society, University of Edinburgh, UK Centre for Digital Humanities (CDH), University College London, UK Centre for Computing in the Humanities (CCH), King’s College London, UK Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium
Centre for Scholarly Editing and Document Studies (CTB) Royal Academy of Dutch Language and Literature Koningstraat 18 9000 Gent Belgium
ctb@kantl.be
Edward Vanhoutte Melissa Terras
Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium Gent
Centre for Scholarly Editing and Document Studies (CTB) Royal Academy of Dutch Language and Literature Koningstraat 18 9000 Gent Belgium

Licensed under a Creative Commons Attribution ShareAlike 3.0 License

9 July 2010
TEI By Example. Edward Vanhoutte editor Ron Van den Branden editor Melissa Terras editor

Digitally born

TEI By Example offers a series of freely available online tutorials walking individuals through the different stages in marking up a document in TEI (Text Encoding Initiative). Besides a general introduction to text encoding, step-by-step tutorial modules provide example-based introductions to eight different aspects of electronic text markup for the humanities. Each tutorial module is accompanied with a dedicated examples section, illustrating actual TEI encoding practise with real-life examples. The theory of the tutorial modules can be tested in interactive tests and exercises.

en-GB integrated examples in a single file
Henrik Ibsen: The Wild Duck

The following example is a fragment (the front matter, and pages 102 to 105, belonging to the fifth act) of Henrik Ibsen’s play The Wild Duck, encoded and made available by the University of Virginia Library, for their Text Collection.

The text of the play is preceded by front matter, consisting of a title page, and a table of contents.

The body of the play (body) consists of 5 acts, in which no further scenes are discerned. Acts are encoded in div1 elements, with an act value for their type attributes. The first act is preceded by a character list, encoded in a separate div1 element, of type section. This character list is transcribed as part of the text’s body, in the form of a simple list, with role names and descriptions as plain text inside item elements. Inside the same div1 element, the cast list is followed by two paragraphs (p). As descriptions of global aspects of the play’s settings, they could have been wrapped in a more expressive set element, were they transcribed as part of the text’s front part (set is only allowed as a child element of front). Inside the acts, each speech is marked with sp, indicating the speaker as it occurs in the source (speaker), without formal reference to the character’s definition in the cast list. This link could be provided with a who attribute on sp.

Stage instructions are encoded inside stage. The speeches are encoded as prose paragraphs (p). Notice, however, how this encoding makes abstraction of physical lines: these are explicitly encoded using the lb element.

Besides the regular drama elements, this fragment also contains one footnote, which is transcribed as: "Livslognen,"

literally "the life-lie."

right before the corresponding page break (pb). From this encoding it is not clear, however, whether this is a transcribed authorial annotation, or an annotation made by the editor; the resp attribute could have avoided this confusion. Moreover, as it apparently concerns a translation, the contents of the note could have been encoded more semantically as a term - gloss pair. The note indicator in the running text is encoded as * where it occurs in the text.

THE WILD DUCK THE LEAGUE OF YOUTH ROSMERSHOLM By HENRIK IBSEN BONI AND LIVERIGHT, INC. PUBLISHERS — NEW YORK Printed in the United States of America CONTENTS PAGE THE WILD DUCK ACT I................. 3 ACT II................ 24 ACT III............... 48 ACT IV................ 74 ACT V................. 98 THE LEAGUE OF YOUTH ACT I................. 123 ACT II................ 148 ACT III............... 178 ACT IV................ 199 ACT V................. 227 ROSMERSHOLM ACT I................. 251 ACT II................ 278 ACT III............... 304 ACT IV................ 326 CHARACTERS WERLE, a merchant, manufacturer, etc. GREGERS WERLE, his son. OLD EKDAL. HIALMAR EKDAL, his son, a photographer. GINA EKDAL, Hjalmar's wife. HEDVIG, their daughter, a girl of fourteen. MRS. SORBY, Werle's housekeeper. RELLING, a doctor. MOLVIK, student of theology. GRABERG, Werle's bookkeeper. PETTERSEN, Werle's servant. JENSEN, a hired waiter. A FLABBY GENTLEMAN. A THIN-HAIRED GENTLEMAN. A SHORT-SIGHTED GENTLEMAN. SIX OTHER GENTLEMEN, guests at Werle's dinner-party. SEVERAL HIRED WAITERS.

The first act passes in WERLE'S house, the remaining acts at HJALMAR EKDAL'S.

Pronunciation of Names: GREGERS WERLE = Grayghers Verle; HIALMAR EKDAL = Yalmar Aykdal; GINA = Cheena; GRABERG = Groberg; JENSEN = Yensen.

ACT FIFTH Relling.

Well, you see, I'm supposed to be a sort of a doctor — save the mark! I can't but give a hand to the poor sick folk who live under the same roof with me.

Gregers.

Oh, indeed! Hialmar Ekdal is sick too, is he!

Relling.

Most people are, worse luck.

Gregers.

And what remedy are you applying in Hialmar's case?

Relling.

My usual one. I am cultivating the life-illusion* in him.

Gregers.

Life-illusion? I didn't catch what you said.

Relling.

Yes, I said illusion. For illusion, you know, is the stimulating principle.

Gregers.

May I ask with what illusion Hialmar is inoculated?

Relling.

No, thank you; I don't betray professional secrets to quacksalvers. You would probably go and muddle his case still more than you have already. But my method is infallible. I have applied it to Molvik as well. I have made him "daemonic." That's the blister I have to put on his neck.

Gregers.

Is he not really daemonic then?

Relling.

What the devil do you mean by daemonic! It's only a piece of gibberish I've invented to keep up a spark of life in him. But for that, the poor harmless creature would have succumbed to self-contempt and despair many a long year ago. And then the old lieutenant! But he has hit upon his own cure, you see.

Gregers.

Lieutenant Ekdal? What of him?

Relling.

Just think of the old bear-hunter shutting himself up in that dark garret to shoot rabbits! I tell you there is not a happier sportsman in the world than that old man pottering about in there among all that rubbish. The four or five withered Christmas-trees he has saved up are the same to him as the whole great fresh Hoidal forest; the cock and the hens are big game-birds in the fir-tops; and the rabbits that flop about the garret floor are the bears * "Livslognen,"

literally "the life-lie."

he has to battle with — the mighty hunter of the mountains!

Gregers.

Poor unfortunate old man! Yes; he has indeed had to narrow the ideals of his youth.

Relling.

While I think of it, Mr. Werle, junior — don't use that foreign word: ideals. We have the excellent native word: lies.

Gregers.

Do you think the two things are related?

Relling.

Yes, just about as closely as typhus and putrid fever.

Gregers.

Dr. Relling, I shall not give up the struggle until I have rescued Hialmar from your clutches!

Relling.

So much the worse for him. Rob the average man of his life-illusion, and you rob him of his happiness at the same stroke. (To HEDVIG, who comes in from the sitting-room.) Well, little wild-duck-mother, I'm just going down to see whether papa is still lying meditating upon that wonderful invention of his.

[Goes out by passage door. Gregers (approaches HEDVIG).

I can see by your face that you have not yet done it.

Hedvig.

What? Oh, that about the wild duck! No.

Gregers.

I suppose your courage failed when the time came.

Hedvig.

No, that wasn't it. But when I awoke this morning and remembered what we had been talking about, it seemed so strange.

Gregers.

Strange?

Hedvig.

Yes, I don't know — Yesterday evening, at the moment, I thought there was something so delightful about it; but since I have slept and thought of it again, it somehow doesn't seem worth while.

Gregers.

Ah, I thought you could not have grown up quite unharmed in this house.

Hedvig.

I don't care about that, if only father would come up —

Gregers.

Oh, if only your eyes had been opened to that which gives life its value — if you possessed the true, joyous, fearless spirit of sacrifice, you would soon see how he would come up to you. — But I believe in you still, Hedvig.

[He goes out by the passage door. HEDVIG wanders about the room for a time; she is on the point of going into the kitchen when a knock is heard at the garret door. HEDVIG goes over and opens it a little; old EKDAL comes out; she pushes the door to again.

Ekdal.

H'm, it's not much fun to take one's morning walk alone.

Hedvig.

Wouldn't you like to go shooting, grandfather?

Ekdal.

It's not the weather for it to-day. It's so dark there, you can scarcely see where you're going.

Hedvig.

Do you never want to shoot anything besides the rabbits?

Ekdal.

Do you think the rabbits aren't good enough?

Hedvig.

Yes, but what about the wild duck?

Ekdal.

Ho-ho! are you afraid I shall shoot your wild duck? Never in the world. Never.

Hedvig.

No, I suppose you couldn't; they say it's very difficult to shoot wild ducks.

Ekdal.

Couldn't! Should rather think I could.

Hedvig.

How would you set about it, grandfather? — I don't mean with my wild duck, but with others?

Ekdal.

I should take care to shoot them in the breast, you know; that's the surest place. And then you must shoot against the feathers, you see — not the way of the feathers.

Hedvig.

Do they die then, grandfather?

Ekdal.

Yes, they die right enough — when you shoot properly. — Well, I must go and brush up a bit. H'm — understand — h'm.

[Goes into his room.

[HEDVIG waits a little, glances towards the sitting-room door, goes over to the book-case, stands on tip-toe, takes the double-barrelled pistol down from the shelf, and looks at it. GINA, with brush and duster, comes from the sitting-room. HEDVIG hastily lays down the pistol, unobserved.

Adapted from a TEI P4 encoding of Henrik Ibsen’s play The Wild Duck (Ibsen, 1918). TEI XML source available from .
Ibsen, Henrik. 1918. The Wild Duck. New York: Boni and Liveright, Inc.. Encoded and made available by the University of Virginia Library, Text Collection at . Marlowe, Christopher. 1616. The Tragedie of Doctor Faustus. Encoded and made available by the Perseus Digital Library. Available online at . Melville, Herman. 1922. Moby-Dick or, The Whale. London, Bombay, Sidney: Constable and Company LTD. p. 214–215.. Facsimile available from Internet Archive at . Shakespeare, William. 1594. Titus Andronicus. Encoded and made available by the Perseus Digital Library. Available online at . Wilde, Oscar. 1930. The Importance of Being Earnest. In: Plays, Prose Writings and Poems. London: Everyman. Encoded and made available by CELT: Corpus of Electronic Texts: a project of University College, Cork. Available online at .