Skip to content

A repo to store data and info related to Zefania XML for preservation purposes

License

Notifications You must be signed in to change notification settings

biblenerd/Zefania-XML-Preservation

Repository files navigation

Zefania XML Bible Markup Language Preservation

A repo to store data and information related to Zefania XML for preservation purposes.

Zefania XML is an XML-based markup language used for describing Bible texts. It enables applications that understand XML to read and process these texts. Zefania XML is available under the GNU General Public License (GPL). The format is designed to be simple for ease of sharing Bible texts. Zefania XML was originally created by the Theological Initiative Freiburg for the benefit of Bible software developers targeting German-speaking users.

Contents

XML Structure

The domain associated with the XML schema documentation is no longer maintained, but the former content can be viewed via an archived version. I was able to find a copy of the XSD file at the BibleWorkPlace Zefania XML 2014 repo, and have also backed up the XSD file and ISO codes in this repo.

Below are some of the basics of this XML format but this is by no means comprehensive documentation.

Elements

Zefania XML follows standard book, chapter, and verse logical divisions in Bible texts and describes them with the following nested elements:

  • <XMLBIBLE> Marker for the entire Bible text document. </XMLBIBLE>
    • <BIBLEBOOK> Marker for the boundary of a Bible book. </BIBLEBOOK>
      • <CHAPTER> Marker for chapter boundaries within a Bible book. </CHAPTER>
        • <VERS> Marker for verse boundaries within a Bible chapter. </VERS>

There is also an <INFORMATION> element containing a declaration about the Bible text, which is described in the Declaration section below.

Attributes

These XML elements have attributes, the most common of which are illustrated within each of the above-listed corresponding elements as follows:

Associated Element Attribute Description Example Value
XMLBIBLE biblename Name of the Bible text "King James Version"
BIBLEBOOK bnumber Bible book number "1"
BIBLEBOOK bname Bible book name "Genesis"
BIBLEBOOK bsname Bible book short name "Gen"
CHAPTER cnumber Bible chapter number (relative to book) "1"
VERS vnumber Bible verse number (relative to book and chapter) "1"

There are also other available attributes for formatting, references to other Bible passages, translation and grammar notes, etc.

Declaration

As with any XML document, Zefania XML requires a declaration and namespace reference. There is also an <INFORMATION> element in which bibliographic data are stored following the Dublin Core standard. An example section for the King James Bible follows:

<INFORMATION>
  <title>King James Version</title>
  <creator>Richard Bancroft (editor)</creator>
  <subject>The Holy Bible</subject>
  <description>This is an example description for the Wikipedia article on Zefania XML. This is the 1611 King James Version of the Bible, sometimes referred to as the Authorized Version.</description>
  <publisher>Wikipedia</publisher>
  <contributors>King James VI and I</contributors>
  <date>2022-08-17</date>
  <type>Bible</type>
  <format>Zefania XML Bible Markup Language</format>
  <identifier>KJV</identifier>
  <language>ENG</language>
  <rights>Public Domain</rights>
</INFORMATION>

Example excerpt

Below is an excerpted example representing the first two verses of the Gospel of John 1:1–2 in the King James Version Bible along with appropriate declaration and bibliographic data:

<?xml version="1.0" encoding="utf-8"?>
<XMLBIBLE biblename="King James Version">
  <INFORMATION>
    <title>King James Version</title>
    <creator>Richard Bancroft (editor)</creator>
    <subject>The Holy Bible</subject>
    <description>This is an example description for the Wikipedia article on Zefania XML. This is the 1611 King James Version of the Bible, sometimes referred to as the Authorized Version. This excerpted Bible only contains the first two verses of the Gospel of John for illustrative purposes.</description>
    <publisher>Wikipedia</publisher>
    <contributors>King James VI and I</contributors>
    <date>2022-08-17</date>
    <type>Bible</type>
    <format>Zefania XML Bible Markup Language</format>
    <identifier>KJV</identifier>
    <language>ENG</language>
    <rights>Public Domain</rights>
  </INFORMATION>
  <BIBLEBOOK bnumber="43" bname="John" bsname="John">
    <CHAPTER cnumber="1">
    <VERS vnumber="1">In the beginning was the Word, and the Word was with God, and the Word was God.</VERS>
    <VERS vnumber="2">The same was in the beginning with God.</VERS>
    </CHAPTER>
  </BIBLEBOOK>
</XMLBIBLE>

Projects that use or support Zefania XML

Why this repo?

A lot of links associated with Zefania XML are now dead. I wrote a Wikipedia article about Zefania XML to preserve some basic information about it but the submission was declined due to the article not being supported by reliable sources. I figured it would be a shame for the information to perish, so preserved it here and decided to also back up and/or clone associated data that I identified as well in case the websites or repos currently hosting them become defunct (a little redundancy doesn't hurt).

About

A repo to store data and info related to Zefania XML for preservation purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published