[sword-devel] osis2mod and Xinclude ?

David Haslam dfhdfh at protonmail.com
Thu Jan 30 14:17:17 EST 2025


Thanks DM,

Indeed it has, and I’ve used it myself to create updated test versions of the KJVA module, by appending the DC books to a module created first from the PC books.

However that concept is not foreseen as a potential method to be used by Dom Corbex in his module creation script.

David

On Thu, Jan 30, 2025 at 18:52, DM Smith <[dmsmith at crosswire.org](mailto:On Thu, Jan 30, 2025 at 18:52, DM Smith <<a href=)> wrote:

> osis2mod already has a flag -a that will allow content to be appended to a module. I think if a copy of the KJV is made that the -a flag with the Apocrypha.xml (or whatever it is called) could be added in.
>
>> On Jan 30, 2025, at 11:16 AM, David Haslam <dfhdfh at protonmail.com> wrote:
>>
>> What would it take to enable osis2mod to process a top level OSIS file that called subsidiary XML files using the Xinclude feature?
>>
>> See https://www.w3.org/TR/xinclude/
>> and https://en.wikipedia.org/wiki/XInclude
>>
>> Potential use:
>>
>> Instead of having to script the merging of two OSIS files (e.g. for the KJV books and the KJVDC books to make a large XML file from which to make the KJVA module), the two OSIS files could be included by name in a small OSIS file. If osis2mod could run with that, it would be a simpler task to update the KJVA module whenever the KJV module is being updated.
>>
>> It seems a shame if we could not take advantage of this standard feature of XML with the main tool we use for making Bible modules.
>>
>> Best regards,
>>
>> David
>>
>> Sent with Proton Mail secure email.
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250130/52851b20/attachment.htm>


More information about the sword-devel mailing list