ThML is an XML dialect primarily intended for theological or biblical texts, with support for bibliographic information (like TEI). It includes support for hymns; so a hymnal with ThML markup can be installed automatically at both the Hymnary and CCEL.
This is not the official ThML documentation.
Contents |
Every ThML book begins with a <ThML.head> block
including these records:
The <ThML.body> section may contain table of contents, preface, and other material just as any other book. There is one recommended section, a <div> (or <divn>) with an attribute, id="cover", which
is used by the Hymnary as the title page of the hymnal.
The <verse> (hymn stanza) and <l> (line) tags mark up the text of the hymn itself:
Indentation of individual lines is shown by the class attribute: class="t" for one "em" (or two spaces in a monospaced font), "t2" for 2 ems; classes "t3" through "t10" are also defined.
Firefox will render HTML using XML tags, provided sufficient information is given in its CSS stylesheet. Since both CCEL and the Hymnary use their own transformations, their presentation will not be identical, but this approach allows effective proofing of a ThML text.