|
Glossaries: After you have marked key words and names in a text, you can create a glossary of those names at the end of your encoded document. Then, using IDs and IDREFs, you can link the marked words in the text to more information about that word. ID: an attribute that has a unique value, which identifies one particular element in your xml file. All IDs for this project should start with your initials (e.g. sh), and end with the first four letters of the word being IDed. In the case of names, use the first initial and first three letters of the surname (see below). IDREF: an attribute that has a value that must correspond to an ID somewhere else in the document. The value refers or points to an element defined by an ID. |
|
| terms (use the corresp attribute to link to item ids) |
<term corresp="shLOL">LOL</term>! That is <term
corresp="sh2">2</term> funny! Anyway... <term corresp="shttyl">ttyl</term> ... </body> <back> <div1 type="term glossary"><list type="gloss"> <item id="shLOL"> <term>LOL</term> <gloss>laughing out loud</gloss></item></list> </div1> </back> |
| paraphrasing the thesis (use the corresp attribute to link to item ids) |
Here is the main idea of this paragraph: <seg type="thesis" corresp="shalwa">always eat your vegetables.</seg> ... </body> <back> <div1 type="thesis glossary"> <list></div1><item id="shalwa">Eat them every day!</item></list> |
| names: historical figures (use the key attribute to link to item ids) |
<name type="person" key="shGWash">George Washington's</name>
face appears on every dollar bill. ... <div1 type="historical names glossary"> <list> <item id="shGWash">
|
| names: places (use the key attribute to link to item ids) |
George Washington lived at his beautiful home in <name type="place" key="shMoun">Mount Vernon</name> ... <div1 type="place names glossary"> <list></div1> |