LISTSERV mailing list manager LISTSERV 16.5

Help for TEI-L Archives


TEI-L Archives

TEI-L Archives


TEI-L@LISTSERV.BROWN.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

TEI-L Home

TEI-L Home

TEI-L  July 2007

TEI-L July 2007

Subject:

Re: Haggadah in XML?

From:

Matej Cepl <[log in to unmask]>

Reply-To:

Matej Cepl <[log in to unmask]>

Date:

Mon, 2 Jul 2007 13:39:21 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (84 lines)

On 2007-06-27, 09:04 GMT, James Cummings wrote:
> What elements do you feel you need?  Perhaps we could make some 
> suggestions.

OK, I tried to do what I could, but I was not able to go all the 
way to the validating document, and some things look awkward to 
me.

I have created this TEI customization 
http://www.ceplovi.cz/matej/tmp/tei_drama.xml which generated 
this RNC schema http://www.ceplovi.cz/matej/tmp/TEI.rnc I begun 
to work on my document 
http://www.ceplovi.cz/matej/tmp/PCF_haggadah.xml and it is almost 
good, but I cannot validate it:

[matej@hubmaier haggadah]$ xmllint --relaxng TEI.rng --noout 
PCF_haggadah.xml PCF_haggadah.xml:147: element sp: Relax-NG 
validity error : Did not expect element speaker there
PCF_haggadah.xml:147: element sp: Relax-NG validity error 
: Expecting element l, got speaker
PCF_haggadah.xml:149: element p: Relax-NG validity error 
: Element p has extra content: text
PCF_haggadah.xml:149: element p: Relax-NG validity error : Did 
not expect element p there
PCF_haggadah.xml:147: element sp: Relax-NG validity error 
: Element sp failed to validate content
PCF_haggadah.xml:164: element speaker: Relax-NG validity error 
: Did not expect element speaker there
PCF_haggadah.xml:164: element speaker: Relax-NG validity error 
: Expecting element l, got speaker
PCF_haggadah.xml:164: element sp: Relax-NG validity error 
: Expecting an element got text
PCF_haggadah.xml:164: element sp: Relax-NG validity error : Did 
not expect element text there
PCF_haggadah.xml:164: element sp: Relax-NG validity error 
: Element sp failed to validate content
PCF_haggadah.xml fails to validate
[matej@hubmaier haggadah]$

What's wrong with <speaker> element in <sp>? And why I cannot 
have <p> in <sp>? Both of these constructs seem to be shown in 
http://www.tei-c.org/release/doc/tei-p5-doc/html/DR.html

The second problem are biblical quotations. There are plenty of 
them so I would prefer some decent way how to work with them. In 
my Docbook customization I use copycat of the ThML from 
http://www.ccel.org/ThML/scripref.htm namely elements <scripture> 
(which is Docbook's <quote> with quote attribute for the 
reference -- see examples on the ThML page) and <scripRef> which 
covers just biblical quotation (e.g., <scripRef passage="Jo 
3:16">John 3:16</scripRef>).

I guess I could do the latter with <ref> like in

    <p>As it is written in <ref cref="Ex 12:14-20">Exodus 
    12:14-20</ref>, in preparation for the Passover, God 
       commanded the people of Israel to remove all leaven 

but I don't know how to do the first efficiently. I tried

    <p>It is from this concept of the cleansing of leaven that 
    Paul wrote in First Corinthians 5:6 <cit><quote>Don’t you
    know that a little yeast works through the whole bunch of
    dough?  Get rid of the old yeast that you may be a new batch
    without yeast.</quote> <ref>1Co 5:6</ref></cit></p>

But that seems kind of awkward (three elements for one 
quotation). Is there a better way?

Thanks a lot for the reply,

Matěj Cepl

-- 
http://www.ceplovi.cz/matej/blog/, Jabber: ceplma<at>jabber.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and
tyrants.
    -- Thomas Jefferson, letter to Col. William S. Smith, 1787

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.BROWN.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager