[sword-devel] ESV title filter failure

Andrew Thule thulester at gmail.com
Tue Jul 17 09:25:28 MST 2012


Just curious, how are you breaking this down so nicely into the Entry
Attributes?  Do you have a script or something that helps you look at
nesting, and xml parsing?

~Andrew

On Fri, Jun 22, 2012 at 3:12 AM, Peter von Kaehne <refdoc at gmx.net> wrote:
> On Thu, 2012-06-21 at 19:22 -0400, Karl Kleinpaste wrote:
>> diatheke -b ESV -o fmhncvalsbx -k 'mark 16:9'
>
> peter at AOA110:~/Source/sword/examples/cmdline$ diatheke -b ESV -o
> fmhncvalsbx -k 'mark 16:9'
> Mark 16:9: [Some of the earliest manuscripts do not include 16:9-20.]
> []
> Jesus Appears to Mary Magdalene[Some of the earliest manuscripts do not
> include 16:9-20.] []
> Jesus Appears to Mary Magdalene
> [[Now when he rose early on the first day of the week, he appeared first
> to Mary Magdalene, from whom he had cast out seven demons.
> (ESV)
> peter at AOA110:~/Source/sword/examples/cmdline$ ./lookup ESV "Mark 16.9"
> ==Raw=Entry===============
> Mark 16:9:
> <title type="x-textual-note">[Some of the earliest manuscripts do not
> include 16:9-20.]<note n="1" osisID="Mark.16.9!note.1"
> osisRef="Mark.16.9" type="variant">Some manuscripts end the book with
> 16:8; others include verses 9-20 immediately after verse 8. A few
> manuscripts insert additional material after verse 14; one Latin
> manuscript adds after verse 8 the following: <hi type="italic">But they
> reported briefly to Peter and those with him all that they had been
> told. And after this, Jesus himself sent out by means of them, from east
> to west, the sacred and imperishable proclamation of eternal
> salvation</hi>. Other manuscripts include this same wording after verse
> 8, then continue with verses 9-20</note></title><title
> subType="x-preverse" type="section">Jesus Appears to Mary
> Magdalene</title>[[Now when he rose early on the first day of the week,
> <note n="f" osisID="Mark.16.9!crossReference.f" osisRef="Mark.16.9"
> type="crossReference"><reference osisRef="John.20.14">John
> 20:14</reference>; [<reference osisRef="Matt.28.9">Matt.
> 28:9</reference>]</note>he appeared first to <note n="g"
> osisID="Mark.16.9!crossReference.g" osisRef="Mark.16.9"
> type="crossReference"><reference osisRef="Luke.8.2">Luke
> 8:2</reference></note>Mary Magdalene, <note n="g" osisID="Mark.16.9!
> crossReference.g" osisRef="Mark.16.9" type="crossReference"><reference
> osisRef="Luke.8.2">Luke 8:2</reference></note>from whom he had cast out
> seven demons.
> ==Render=Entry============
>                 .divineName {                   font-variant: small-caps;               }               .wordsOfJesus {                 color:
> red;            }
> <h3>[Some of the earliest manuscripts do not include 16:9-20.]</h3>Jesus
> Appears to Mary Magdalene<h3>[Some of the earliest manuscripts do not
> include 16:9-20.]</h3><h3>Jesus Appears to Mary Magdalene</h3>[[Now when
> he rose early on the first day of the week, he appeared first to Mary
> Magdalene, from whom he had cast out seven demons.
> ==========================
> Entry Attributes:
>
> [ Footnote ]
>         [ 1 ]
>                 body = Some manuscripts end the book with 16:8; others include verses
> 9-20 immediately after verse 8. A few manuscripts insert additional
> material after verse 14; one Latin manuscript adds after verse 8 the
> following: <hi type="italic">But they reported briefly to Peter and
> those with him all that they had been told. And after this, Jesus
> himself sent out by means of them, from east to west, the sacred and
> imperishable proclamation of eternal salvation</hi>. Other manuscripts
> include this same wording after verse 8, then continue with verses 9-20
>                 n = 1
>                 osisID = Mark.16.9!note.1
>                 osisRef = Mark.16.9
>                 type = variant
>         [ 2 ]
>                 body = <reference osisRef="John.20.14">John 20:14</reference>;
> [<reference osisRef="Matt.28.9">Matt. 28:9</reference>]
>                 n = f
>                 osisID = Mark.16.9!crossReference.f
>                 osisRef = Mark.16.9
>                 refList = John.20.14; Matt.28.9
>                 type = crossReference
>         [ 3 ]
>                 body = <reference osisRef="Luke.8.2">Luke 8:2</reference>
>                 n = g
>                 osisID = Mark.16.9!crossReference.g
>                 osisRef = Mark.16.9
>                 refList = Luke.8.2
>                 type = crossReference
>         [ 4 ]
>                 body = <reference osisRef="Luke.8.2">Luke 8:2</reference>
>                 n = g
>                 osisID = Mark.16.9!crossReference.g
>                 osisRef = Mark.16.9
>                 refList = Luke.8.2
>                 type = crossReference
> [ Heading ]
>         [ 0 ]
>                 type = x-textual-note
>         [ 1 ]
>                 type = x-textual-note
>         [ Interverse ]
>                 0 = [Some of the earliest manuscripts do not include 16:9-20.]
>                 1 = [Some of the earliest manuscripts do not include
> 16:9-20.]</title><title subType="x-preverse" type="section">Jesus
> Appears to Mary Magdalene
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page



More information about the sword-devel mailing list