I forgot to mention that <seg> is generic for 'segment' and the type attribute, like other types, allows an 'x-' prefix for your own custom type, so, worst case, you could always mark things as, e.g.,

<seg type="x-encouraging">some encouraging verse text here</seg>

But typically x- tags won't ever be recognized as anything specific by OSIS software. If you want to be an OSIS-validating doc with some of your own markup, then this would be a way to do it.

Troy



On 04/23/2012 09:28 PM, Andrew Thule wrote:
Yes, thanks very much Troy - it does (get me started).

~Andrew

On Mon, Apr 23, 2012 at 3:09 PM, Troy A. Griffitts <scr...@crosswire.org
<mailto:scr...@crosswire.org>> wrote:

    On 04/23/2012 06:55 PM, Andrew Thule wrote:

        I've been playing with the following module:
        http://crosswire.org/~dmsmith/__kjv2006/sword/kjvxml.zip
        <http://crosswire.org/%7Edmsmith/kjv2006/sword/kjvxml.zip>
        <http://crosswire.org/%__7Edmsmith/kjv2006/sword/__kjvxml.zip
        <http://crosswire.org/%7Edmsmith/kjv2006/sword/kjvxml.zip>>


        Specifically, I've been looking at how text is 'altered' in
        appearance
        by tags such as  divineName, foreign, <q marker="" who="Jesus>
        etc.  I
        like this functionality, because it provides the ability to provide
        information about the text, without altering the text itself.

        Let's say I wanted to experiment with osis.xml by denoting
        "Messianic
        References" in the OT for example,


    probably as Peter suggested, simply use a note with a catchWord to
    identify exactly the text.


        (or perhaps OT quotes in the NT),


    <seg type="otPassage">new testament quote/allusion to old testament
    verse</seg>

    and probably a <note type="crossReference"> included to footnote the
    verses as suggested by Peter.  You might also include the global
    annotateRef="osisRef" on the seg to indicate the OT passages, but
    this is mostly meant for commentaries of other works.  I guess you
    could consider the NT a commentary on the OT :)  But we probably
    wouldn't ever expect that attribute to be there.

    Hope that gets you started.

    Troy

        what would be the preferable way of doing this?

        ~Andrew



        _________________________________________________
        sword-devel mailing list: sword-devel@crosswire.org
        <mailto:sword-devel@crosswire.org>
        http://www.crosswire.org/__mailman/listinfo/sword-devel
        <http://www.crosswire.org/mailman/listinfo/sword-devel>
        Instructions to unsubscribe/change your settings at above page



    _________________________________________________
    sword-devel mailing list: sword-devel@crosswire.org
    <mailto:sword-devel@crosswire.org>
    http://www.crosswire.org/__mailman/listinfo/sword-devel
    <http://www.crosswire.org/mailman/listinfo/sword-devel>
    Instructions to unsubscribe/change your settings at above page




_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to