ora2 done
This commit is contained in:
63
ora2/hamlet.css
Normal file
63
ora2/hamlet.css
Normal file
@@ -0,0 +1,63 @@
|
||||
* {
|
||||
display: block;
|
||||
}
|
||||
|
||||
line>stagedir {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
play {
|
||||
background-color: white;
|
||||
font-family: "Palatino Linotype", Palatino, "Times New Roman";
|
||||
line-height: 1.5;
|
||||
margin: auto;
|
||||
max-width: 80ch;
|
||||
/*80 karakter -^ */
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
author,
|
||||
title {
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
author,
|
||||
play>title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
play>title {
|
||||
font-size: xx-large;
|
||||
letter-spacing: 0.15em;
|
||||
margin-top: 0.5em;
|
||||
text-shadow: 1px 1px 2px gray;
|
||||
}
|
||||
|
||||
author,
|
||||
act>title {
|
||||
font-size: x-large;
|
||||
}
|
||||
|
||||
scene>title {
|
||||
background-color: slateblue;
|
||||
box-shadow: 0.25em 0.25em 0.5em gray;
|
||||
color: white;
|
||||
font-size: large;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
act {
|
||||
border-top: medium double black;
|
||||
margin-top: 2em;
|
||||
padding-top: 1.5em;
|
||||
}
|
||||
|
||||
scene {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
speech,
|
||||
scene>stagedir {
|
||||
margin-top: 1em;
|
||||
}
|
||||
11
ora2/hamlet.dtd
Normal file
11
ora2/hamlet.dtd
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!ELEMENT play (author, title, act*)>
|
||||
<!ELEMENT author (#PCDATA)>
|
||||
<!ELEMENT title (#PCDATA)>
|
||||
<!ELEMENT act (title, scene*)>
|
||||
<!ELEMENT scene (title, (speech | stagedir)*)>
|
||||
<!ELEMENT speech (speaker, (line | stagedir)*)>
|
||||
<!ELEMENT stagedir (#PCDATA)>
|
||||
<!ELEMENT speaker (#PCDATA)>
|
||||
<!ELEMENT line (#PCDATA | stagedir)*>
|
||||
45
ora2/hamlet.txt
Normal file
45
ora2/hamlet.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
// Source: http://shakespeare.mit.edu/hamlet/
|
||||
|
||||
William Shakespeare
|
||||
The Tragedy of Hamlet, Prince of Denmark
|
||||
ACT I
|
||||
...
|
||||
SCENE V. Another part of the platform.
|
||||
...
|
||||
HAMLET
|
||||
O all you host of heaven! O earth! What else?
|
||||
And shall I couple hell? O, fie! Hold, hold, my heart;
|
||||
And you, my sinews, grow not instant old,
|
||||
But bear me stiffly up. Remember thee!
|
||||
Ay, thou poor ghost, while memory holds a seat
|
||||
In this distracted globe. Remember thee!
|
||||
Yea, from the table of my memory
|
||||
I'll wipe away all trivial fond records,
|
||||
All saws of books, all forms, all pressures past,
|
||||
That youth and observation copied there;
|
||||
And thy commandment all alone shall live
|
||||
Within the book and volume of my brain,
|
||||
Unmix'd with baser matter: yes, by heaven!
|
||||
O most pernicious woman!
|
||||
O villain, villain, smiling, damned villain!
|
||||
My tables,--meet it is I set it down,
|
||||
That one may smile, and smile, and be a villain;
|
||||
At least I'm sure it may be so in Denmark:
|
||||
[Writing]
|
||||
So, uncle, there you are. Now to my word;
|
||||
It is 'Adieu, adieu! remember me.'
|
||||
I have sworn 't.
|
||||
[Enter HORATIO and MARCELLUS]
|
||||
HORATIO
|
||||
[Within] My lord, my lord,--
|
||||
MARCELLUS
|
||||
[Within] Lord Hamlet,--
|
||||
HORATIO
|
||||
[Within] Heaven secure him!
|
||||
HAMLET
|
||||
So be it!
|
||||
HORATIO
|
||||
[Within] Hillo, ho, ho, my lord!
|
||||
HAMLET
|
||||
Hillo, ho, ho, boy! come, bird, come.
|
||||
...
|
||||
70
ora2/hamlet.xml
Normal file
70
ora2/hamlet.xml
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--// Source: http://shakespeare.mit.edu/hamlet/-->
|
||||
|
||||
<!-- dtd hivatkozas-->
|
||||
<!DOCTYPE play SYSTEM "hamlet.dtd">
|
||||
<?xml-stylesheet href="hamlet.css" type="text/css"?>
|
||||
|
||||
|
||||
<play>
|
||||
<author>William Shakespearea</author>
|
||||
<title>The Tragedy of Hamlet, Prince of Denmark</title>
|
||||
<act>
|
||||
<title>ACT I</title>
|
||||
<scene>
|
||||
<title>SCENE V. Another part of the platform.</title>
|
||||
<speech>
|
||||
<speaker>HAMLET</speaker>
|
||||
<line>O all you host of heaven! O earth! What else?</line>
|
||||
<line>And shall I couple hell? O, fie! Hold, hold, my heart;</line>
|
||||
<line>And you, my sinews, grow not instant old,</line>
|
||||
<line>But bear me stiffly up. Remember thee!</line>
|
||||
<line>Ay, thou poor ghost, while memory holds a seat</line>
|
||||
<line>In this distracted globe. Remember thee!</line>
|
||||
<line>Yea, from the table of my memory</line>
|
||||
<line>I'll wipe away all trivial fond records,</line>
|
||||
<line>All saws of books, all forms, all pressures past,</line>
|
||||
<line>That youth and observation copied there;</line>
|
||||
<line>And thy commandment all alone shall live</line>
|
||||
<line>Within the book and volume of my brain,</line>
|
||||
<line>Unmix'd with baser matter: yes, by heaven!</line>
|
||||
<line>O most pernicious woman!</line>
|
||||
<line>O villain, villain, smiling, damned villain!</line>
|
||||
<line>My tables,--meet it is I set it down,</line>
|
||||
<line>That one may smile, and smile, and be a villain;</line>
|
||||
<line>At least I'm sure it may be so in Denmark:</line>
|
||||
<stagedir>[Writing]</stagedir>
|
||||
<line>So, uncle, there you are. Now to my word;</line>
|
||||
<line>It is 'Adieu, adieu! remember me.'</line>
|
||||
<line>I have sworn '</line>
|
||||
</speech>
|
||||
<stagedir>[Enter HORATIO and MARCELLUS]</stagedir>
|
||||
<speech>
|
||||
<speaker>HORATIO</speaker>
|
||||
<line>
|
||||
<stagedir>[Within]</stagedir> My lord, my lord,-- </line>
|
||||
</speech>
|
||||
<speech>
|
||||
<speaker>MARCELLUS</speaker>
|
||||
<line><stagedir>[Within]</stagedir> Lord Hamlet,-- </line>
|
||||
</speech>
|
||||
<speech>
|
||||
<speaker>HORATIO</speaker>
|
||||
<line>
|
||||
<stagedir>[Within]</stagedir> Heaven secure him! </line>
|
||||
</speech>
|
||||
<speech>
|
||||
<speaker>HAMLET</speaker>
|
||||
<line>So be it!</line>
|
||||
</speech>
|
||||
<speech>
|
||||
<speaker>HORATIO</speaker>
|
||||
<line><stagedir>[Within]</stagedir> Hillo, ho, ho, my lord! </line>
|
||||
</speech>
|
||||
<speech>
|
||||
<speaker>HAMLET</speaker>
|
||||
<line>Hillo, ho, ho, boy! come, bird, come.</line>
|
||||
</speech>
|
||||
</scene>
|
||||
</act>
|
||||
</play>
|
||||
Reference in New Issue
Block a user