This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
public:nnels:etext:lists [2019/09/11 09:14] rachel.osolen |
public:nnels:etext:lists [2019/10/02 11:22] rachel.osolen [Definition Lists] |
||
---|---|---|---|
Line 93: | Line 93: | ||
</ | </ | ||
| | ||
- | Definition lists are not restricted to glossaries of terms. We use them for all term-description groups. Term-description groups may be names and definitions, questions and answers, categories and topics, or any other groups of term-description pairs. | + | Definition lists are not restricted to glossaries of terms. We use them for all term-description groups. Term-description groups may be names and definitions, |
- | + | ||
- | For example, a list of cast members should be marked up as a definition list: | + | |
- | + | ||
- | | + | |
- | + | ||
- | Rita: Jennifer Copping | + | |
- | | + | |
- | | + | |
- | Asta: Caitlin McFarlane | + | |
- | | + | |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | Sound Designer: James Coomber | + | |
- | | + | |
- | Stage Manager: Collette Brown | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | With the application of the definition list styles, this results in the below XML output: | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | As mentioned above, definition lists should also be used for Q & A or interviews within a text. For example, in the following text, the first line (Q) should be be Definition Term style, and the second line (A) should be Definition Data style: | + | |
- | + | ||
- | Q: Did you fight any other battles during the course of the war?\\ A: No. I hiked east two days, hitched a ride near Cross Lake and ended up back in my hometown in southern Alabama. | + | |
- | + | ||
- | < | + | |
=====Q& | =====Q& | ||