|
Subject: milestone problem From: jim_albright@xxxxxxxxxxxx Date: Thu, 04 Mar 1999 19:48:45 -0500 |
Thanks for your previous help. Here is one more problem to solve.
In trying to develop a DSSSL script for Scripture,
I want to create an outdented verse number like:
Jklj ljlkjl jlkjljl kjlkjl ljljlkj jlkjlkj jlkjlj.
68 "Blessed be the Lord God of Israel,
because he has come to help and has redeemed his people.
....
to guide our feet into the way of peace."
Jlkjl kjl jljl ljljljl.
where milestone(68) immediately follows <level-1>
as in:
<poetry><stanza><level-1><milestone chapter="1" verse="68">“Blessed
be the Lord
However -- It is possible to have a verse number(89) mid <level-1> as in:
88 Tjjkllj kjlkj kljl ljlkj kljlkj 89 jkljkj jljlj
jlkjl jklkjlk jlkj jlkjlkj jkljojlkjl jlj
90 jlkjlkjlkjlkjljkjj kjlkj kjl lkj ljljlj
The current DTD has
<!ELEMENT stanza - O (level-1)+ >
<!ELEMENT level-1 - O (#PCDATA | foreignWord | milestone | note)+ >
<!ELEMENT milestone - O EMPTY >
What I think I need is
(element (stanza level-1)
(make sequence
(if (followed-immediately-by-milestone))
(outdentAndPutInVerseNumber)
(noOutdent)
)
)
)
I don't know how to create the (followed-immediately-by-milestone)
part.
For this application I am creating a Folios Flat File output.
Thanks for your help.
Jim Albright
Wycliffe Bible Translators
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Future of DSSSL: What about PDF, Peter Nilsson | Thread | tables and page breaks and page num, Peter Jönsson |
| Re: Future of DSSSL: What about PDF, David Carlisle | Date | RE: Future of DSSSL: What about PDF, Mike Sosteric |
| Month |