Difference between revisions of "DevTools:ThML"

From CrossWire Bible Society
Jump to: navigation, search
m (ThML definitions update: by CCEL)
m (Refdoc moved page ThML modules to DevTools:ThML)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
ThML is another XML dialect which can be used to create modules for CrossWire software.  
+
[http://en.wikipedia.org/wiki/ThML ThML] is another XML schema which can be used to create modules for CrossWire software.  
  
''ThML support is no longer actively pursued by the developers. New content should be encoded using OSIS.''
+
''ThML support is no longer actively pursued by CrossWire developers. New content should be encoded using OSIS.''
 +
 
 +
==Module Development==
 +
Please first visit this page [[Module Development Collaboration]] – it may save you a lot of time.
  
 
==Introduction==
 
==Introduction==
In SWORD, for modules encoded with ThML and OSIS, each verse, dictionary entry, and book division needs to be well-formed XML or it will result in display problems in some frontends. SWORD only handles the subset of the ThML tags that we have found necessary, but we are willing to supporting additional tags, as the need arises.
+
In SWORD, for modules encoded with ThML and OSIS, each verse, dictionary entry, and book division needs to be well-formed XML or it will result in display problems in some front--ends. SWORD only handles the subset of the ThML tags that we have found necessary, but we are willing to supporting additional tags, as the need arises.
  
 
===Supported tags===
 
===Supported tags===
Supported ThML tags include: <sync> (with type parameters of Strongs, morph, & lemma), <scripRef>, and <note> (plus closing tags where appropriate). HTML tags that ThML inherits, which may be used in SWORD modules include <div> (with types of sechead for section headings and title for titles, <i>, <br>, and <b>. Additional HTML tags may be interpreted by those SWORD frontends that render HTML, but will not be translated to RTF for the Win32 frontend.
+
Supported ThML tags include: <sync> (with type parameters of Strongs, morph, & lemma), <scripRef>, and <note> (plus closing tags where appropriate). HTML tags that ThML inherits, which may be used in SWORD modules include <div> (with types of sechead for section headings and title for titles, <i>, <br>, and <b>. Additional HTML tags may be interpreted by those SWORD front-ends that render HTML, but will not be translated to RTF for the Win32 front-end.
  
 
====ThML definitions update====
 
====ThML definitions update====
  
The ''''citation'''' element has been eliminated by CCEL in favor of HTML's '''cite''' element. ''Cited by Brian in sword-dev 2008=11-13''.
+
The ''''citation'''' element has been eliminated by CCEL in favor of HTML's '''cite''' element. ''Cited by Brian in sword-dev 2008-11-13''.
  
 
====JSword supported tags====
 
====JSword supported tags====
Line 59: Line 62:
 
* ul
 
* ul
 
* u
 
* u
 +
 +
 +
[[Category:Guides|ThML modules]]
 +
[[Category:ThML|ThML modules]]

Latest revision as of 12:38, 8 January 2018

ThML is another XML schema which can be used to create modules for CrossWire software.

ThML support is no longer actively pursued by CrossWire developers. New content should be encoded using OSIS.

Module Development

Please first visit this page Module Development Collaboration – it may save you a lot of time.

Introduction

In SWORD, for modules encoded with ThML and OSIS, each verse, dictionary entry, and book division needs to be well-formed XML or it will result in display problems in some front--ends. SWORD only handles the subset of the ThML tags that we have found necessary, but we are willing to supporting additional tags, as the need arises.

Supported tags

Supported ThML tags include: <sync> (with type parameters of Strongs, morph, & lemma), <scripRef>, and <note> (plus closing tags where appropriate). HTML tags that ThML inherits, which may be used in SWORD modules include <div> (with types of sechead for section headings and title for titles, <i>, <br>, and <b>. Additional HTML tags may be interpreted by those SWORD front-ends that render HTML, but will not be translated to RTF for the Win32 front-end.

ThML definitions update

The 'citation' element has been eliminated by CCEL in favor of HTML's cite element. Cited by Brian in sword-dev 2008-11-13.

JSword supported tags

The ThML tags that JSword handles are:

  • a
  • big
  • blockquote
  • br
  • b
  • center
  • citation
  • col
  • dd
  • dir
  • div
  • dl
  • dt
  • em
  • font
  • foreign
  • hr
  • h1..h6
  • img
  • i
  • li
  • name
  • note
  • ol
  • pb
  • p
  • pre
  • row
  • scripref
  • scripture
  • small
  • span
  • strong
  • sub
  • sup
  • sync
  • table
  • td
  • term
  • th
  • tr
  • ul
  • u