Difference between revisions of "TEI Dictionaries"

From CrossWire Bible Society
Jump to: navigation, search
(initial outline, intro)
(No difference)

Revision as of 06:39, 27 April 2008

Introduction

In SWORD, the "LD" module type is used to contain modules keyed to non-hierarchical keys. Such modules include: dictionaries (indexed by words or numbers), glossaries (simple one-word translation dictionaries), and daily devotionals (indexed by dates).

For lexicons and dictionaries, the use of TEI P4 markup is encouraged. TEI P4 is an XML standard, quite similar to OSIS and ThML, intended for encoding all types of electronic documents. Since TEI is modular, it is possible to ignore the majority of its modules and use only the much simpler set of tags included in the core, dictionaries, and linking modules.

Markup

Linking Entries

OSIS References

Validation

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TEI.2
   PUBLIC "-//TEI P4//DTD Main Document Type//EN"
   "http://www.tei-c.org/Guidelines/DTD/tei2.dtd" [
 <!ENTITY % TEI.XML          "INCLUDE" >
 <!ENTITY % TEI.dictionaries "INCLUDE" > 
 <!ENTITY % TEI.linking      "INCLUDE" >
]>

Importing