
Marcello wrote:
Lee Passey wrote:
I also note that you encoded the glossary at the end of the work with <p> tags (naughty, naughty). Based on what I saw in the TEI docs I would have encoded it as follows:
<div type="glossary"> <head>Glossary</head> <list type="gloss"> <label>'Abdu'l-Bahá</label> <gloss>The "Servant of Bahá", Abbás Effendi (1844-1921), the eldest son and appointed Successor of Bahá'u'lláh, and the Centre of His Covenant.</gloss>
And it wouldn't have validated because gloss has no business inside list.
TEI P4 shows how to do it (I think): http://www.tei-c.org/P4X/DS.html#TDX-280 Then from there it links to: http://www.tei-c.org/P4X/CO.html#COLI Where it gives the following example: <list type="gloss"> <head>Report of the conduct and progress of Ernest Pontifex. Upper Vth form — half term ending Midsummer 1851</head> <label>Classics</label> <item>Idle listless and unimproving</item> <label>Mathematics</label> <item>ditto</item> <label>Divinity</label> <item>ditto</item> <label>Conduct in house</label> <item>Orderly</item> <label>General conduct</label> <item>Not satisfactory, on account of his great unpunctuality and inattention to duties</item> </list> Also refer to: http://www.tei-c.org/P4X/CO.html#COHQU Which talks about the <gloss> element. It appears that this particular markup problem has appeared before for TEI-P4 to even discuss it (see the prior links.) Definitely Lee is right in that <p> is not the best for this purpose, and Marcello is right in that how Lee used it is incorrect. In fact, the closer I look at the above example, the more it looks like XHTML definition lists with almost an exact mapping between the two except that XHTML <dl> (analogous to TEI <list type="gloss">) cannot contain anything but <dd> <dt> pairs, while the TEI version can also contain a <head>er. In fact, as I look at it, getting the example above to work in XHTML is problematic because of the <head> line. In fact, XHTML has pretty poor list support for internal headers and the like (all the lists: ol, ul, and dl, only support li, and dd/dt for dl), so this looks like item #6 in my "problems with TEI+CSS2 rendering" list. Jon