You are on page 1of 30

613:

:






:



(Text
Encoding In
itiative)


;

1)
2)

3)
4)

5)

.

(
).

.


.


.

;
0 :

xml (eXtensible
Mark-up Language)
0 :


0

0 w3 consortium

xml
0 :
0 <?xml version="1.0" encoding="UTF-8"?>
0 <note>
0 <to> Tove</to>
0 <from>Jani</from>
0 <heading>Reminder</heading>
0 <body>Don't forget me this weekend!</body>
0 </note>

xml :

0 (


.. </note>)
0 :
.

.
0 root element
parent element .

(elements)
(attributes)
0 <person sex="female">
0 <irstname>Anna</irstname>
0 <lastname>Smith</lastname>
0 </person>
<messages>

<note id="501">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</
body>
</note>
<note id="502">
<to>Jani</to>
<from>Tove</from>
<heading>Re: Reminder</heading>
<body>I will not</body>
</note>
</messages>

TEXT ENCODING INITIATIVE:


TEXT ENCODING INITIATIVE:


Guidelines

;
1 (, , ,
2

3
4
5
6
7
8

, )
(
.. ): ,
, ...








;
1 (, , ,
0
0
0
0
0
0

, )
<div>=division
<p>=paragraph
<pb>=page break
<l>=line
<lg>=line group
<lb>=line break


0 <lg>
0 <l>Come ill up the Glass,</l>
0 <l rend="indent">Round, round let it pass,</l>
0 <l>'Till our Reason be lost in our Wine:</l>
0 <l rend="indent">Leave Conscience's Rules</l>
0 <l rend="indent">To Women and Fools,</l>
0 <l>This only can make us divine.</l>
0 </lg>
0 <lg n="Chorus" type="refrain">
0 <l>Then a Mohock, a Mohock I'll be,</l>
0 <l>No Laws shall restrain</l>
0 <l>Our Libertine Reign,</l>
0 <l>We'll riot, drink on, and be free.</l>
0 </lg>

;
1 (

0
0
0
0
0
0
0

.. ): ,
, ...
<persName>
<placeName>
<event>
<date>
@when
@notBefore
@notAfter


<p>
<q>My dear <name type="person">Mr. Bennet</name>,</q> said
<rs type="person">his lady</rs> to him one day,
<q>have you heard that <name type="place">Netherield Park</
name> is let at last?</q>
</p>

0 <p>The Eddic poems are preserved in a unique


0 manuscript (Codex Regius 2365) from
0 <date notBefore="1250" notAfter="1300">the

second half of the


0 thirteenth century</date>, and <title>Hervarar
0 saga</title> dates from
<date when="1300">around 1300</date>.</p>

;
1


0 <hi>
0 <foreign>
0 <emph>
0 <dist>
0 <q>
0 <said>
0 <quot>



<q>What it all comes to is this,</q> he said.

<q>
<emph rend="italic">What does Christopher Robin do in
the morning
nowadays?</emph>
</q>
0 <q>Aren't you confusing

<foreign xml:lang="la">post hoc</foreign> with


<foreign xml:lang="la">propter
0 hoc</foreign>?</q> said the Bee Master.
0 <q>Wax-moth only succeed when
0 weak bees let them in.</q>

;
1


0 <note>
0 @place
0 @type
0 @n
0 @resp

<l>The self-same moment I could pray</l>


<l>And from my neck so free</l>
<l>The albatross fell off, and sank</l>
<l>Like lead into the sea.
<note type="gloss" place="margin">The
spell begins to break</note>
</l>

;
1


0
0
0
0
0
0

<graphic>
<media>
@url
<binaryObject>
<ptr>
<ref>
<Eigure>
<graphic url="Eig1.png"/>
<head>Figure One: The View from the
Bridge</head>
<EigDesc>A Whistleresque view showing
four or ive sailing boats in the
foreground, and a
series of buoys strung out between
them.</EigDesc>
</Eigure>

;
1


<add>
<del>
@rend
@place
@hand
<subst>
<damage>
<unclear>

0 <subst>
0 <del>
0 <gap reason="illegible" qua

ntity="5"
0 unit="character"/>
0 </del>
0 <add>apple</add>
0 </subst>

<ab><subst>
<add place="above"></add>
<del></del>
</subst>
<subst>
<add place="above"></add>
<del></del>
</subst>
<subst>
<add place="above"></add>
<del></del>
</subst>
</ab>

;
1


0 <choice>
0 <sic>
0 <corr>
0 <reg>
0 <orig>
0 @resp
0 @cert

0 <p>Lastly, That, upon his solemn oath to observe all the above
0 articles, the said man-mountain shall have a daily allowance of
0 meat and drink suficient for the support of <choice>
0 <sic>1724</sic>
0 <corr>1728</corr>
0 </choice> of our subjects,
0 with free access to our royal person, and other marks of our
0 <choice>
0 <orig>favour</orig>
0 <reg>favor</reg>
0 </choice>.</p>

http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-l.html

Header:

4 :
0 ileDesc =

0 encodingDesc =

0 proileDesc =
(, ,
)
0 revisionDesc =

Header:

ileDesc
.

;
0 XPath
0 XML Query (XQuery)
0 XSLT (EXtensible Stylesheet Language)
0 (HTML, PDF, RTF, CSV,

etc.)
0 (Xaira, TEIPubisher,
Philologic etc.)


0 xml

:
0 http://www.w3schools.com
0 TEI: P5 Guidelines
0 http://www.tei-c.org/Guidelines/P5/
0 To blog James Cummings: TEI Self-Study Tutorials
0 http://blogs.it.ox.ac.uk/jamesc/author/jamesc/
0
Oxford University
0 http://digital.humanities.ox.ac.uk/dhoxss/
0 TEI by example :
0 http://www.teibyexample.org/TBE.htm
0 TEI wiki
0 http://wiki.tei-c.org/index.php/Main_Page

You might also like