
Hello, I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source. Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)? Thanks for your thoughts, Raff

I'd have thought so, yes. Will need to look at the code to see if it does. Sent from my phone.
On Oct 5, 2017, at 12:22, Raffaele Viglianti <raffaeleviglianti@gmail.com> wrote:
Hello,
I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source.
Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)?
Thanks for your thoughts, Raff -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived

It looks like saxon is told to be xinclude aware, but it doesn't seem to happen. See https://github.com/TEIC/Stylesheets/blob/dev/common/teianttasks.xml#L99 Will keep investigating. Raff On Thu, Oct 5, 2017 at 12:51 PM, Hugh Cayless <philomousos@gmail.com> wrote:
I'd have thought so, yes. Will need to look at the code to see if it does.
Sent from my phone.
On Oct 5, 2017, at 12:22, Raffaele Viglianti < raffaeleviglianti@gmail.com> wrote:
Hello,
I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source.
Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)?
Thanks for your thoughts, Raff -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived

It should work and I do use XIncludes in my ODDs. There is as well the option to use @source on various tagDocs elements and e.g. specGrpRef/@target which I use a lot (see https://github.com/Edirom/WeGA-ODD/blob/develop/src/Guidelines/guidelines-de... for xinclude and https://github.com/Edirom/WeGA-ODD/blob/develop/src/Specs/schemaSpec-biblio.... for specGrpRef). I have an ANT script (https://github.com/Edirom/WeGA-ODD/blob/develop/build.xml) for processing these which I copy-adjusted from some TEI ANT files. Best Peter
Am 05.10.2017 um 20:02 schrieb Raffaele Viglianti <raffaeleviglianti@gmail.com>:
It looks like saxon is told to be xinclude aware, but it doesn't seem to happen. See https://github.com/TEIC/Stylesheets/blob/dev/common/teianttasks.xml#L99
Will keep investigating.
Raff
On Thu, Oct 5, 2017 at 12:51 PM, Hugh Cayless <philomousos@gmail.com> wrote:
I'd have thought so, yes. Will need to look at the code to see if it does.
Sent from my phone.
On Oct 5, 2017, at 12:22, Raffaele Viglianti < raffaeleviglianti@gmail.com> wrote:
Hello,
I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source.
Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)?
Thanks for your thoughts, Raff -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived

Ok, after banging my head a bit more I see that IT WORKS for regular customizations, but setting a localsource parameter seems to throw XInclude out of the window. On Thu, Oct 5, 2017 at 5:00 PM, Peter Stadler <stadler@edirom.de> wrote:
It should work and I do use XIncludes in my ODDs. There is as well the option to use @source on various tagDocs elements and e.g. specGrpRef/@target which I use a lot (see https://github.com/Edirom/ WeGA-ODD/blob/develop/src/Guidelines/guidelines-de.xml for xinclude and https://github.com/Edirom/WeGA-ODD/blob/develop/src/ Specs/schemaSpec-biblio.odd.xml for specGrpRef).
I have an ANT script (https://github.com/Edirom/ WeGA-ODD/blob/develop/build.xml) for processing these which I copy-adjusted from some TEI ANT files.
Best Peter
Am 05.10.2017 um 20:02 schrieb Raffaele Viglianti < raffaeleviglianti@gmail.com>:
It looks like saxon is told to be xinclude aware, but it doesn't seem to happen. See https://github.com/TEIC/Stylesheets/blob/dev/common/teianttasks.xml#L99
Will keep investigating.
Raff
On Thu, Oct 5, 2017 at 12:51 PM, Hugh Cayless <philomousos@gmail.com> wrote:
I'd have thought so, yes. Will need to look at the code to see if it does.
Sent from my phone.
On Oct 5, 2017, at 12:22, Raffaele Viglianti < raffaeleviglianti@gmail.com> wrote:
Hello,
I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source.
Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)?
Thanks for your thoughts, Raff -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived

Hmm, that’s strange, because I do use XInclude (works, within the same repo) for creating an MEI schema as well …
Am 05.10.2017 um 23:14 schrieb Raffaele Viglianti <raffaeleviglianti@gmail.com>:
Ok, after banging my head a bit more I see that IT WORKS for regular customizations, but setting a localsource parameter seems to throw XInclude out of the window.
On Thu, Oct 5, 2017 at 5:00 PM, Peter Stadler <stadler@edirom.de> wrote:
It should work and I do use XIncludes in my ODDs. There is as well the option to use @source on various tagDocs elements and e.g. specGrpRef/@target which I use a lot (see https://github.com/Edirom/ WeGA-ODD/blob/develop/src/Guidelines/guidelines-de.xml for xinclude and https://github.com/Edirom/WeGA-ODD/blob/develop/src/ Specs/schemaSpec-biblio.odd.xml for specGrpRef).
I have an ANT script (https://github.com/Edirom/ WeGA-ODD/blob/develop/build.xml) for processing these which I copy-adjusted from some TEI ANT files.
Best Peter
Am 05.10.2017 um 20:02 schrieb Raffaele Viglianti < raffaeleviglianti@gmail.com>:
It looks like saxon is told to be xinclude aware, but it doesn't seem to happen. See https://github.com/TEIC/Stylesheets/blob/dev/common/teianttasks.xml#L99
Will keep investigating.
Raff
On Thu, Oct 5, 2017 at 12:51 PM, Hugh Cayless <philomousos@gmail.com> wrote:
I'd have thought so, yes. Will need to look at the code to see if it does.
Sent from my phone.
On Oct 5, 2017, at 12:22, Raffaele Viglianti < raffaeleviglianti@gmail.com> wrote:
Hello,
I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source.
Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)?
Thanks for your thoughts, Raff -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived

I think the issue might be that the customization gets serialized, but the local source does not. On Thu, Oct 5, 2017 at 5:19 PM, Peter Stadler <stadler@edirom.de> wrote:
Hmm, that’s strange, because I do use XInclude (works, within the same repo) for creating an MEI schema as well …
Am 05.10.2017 um 23:14 schrieb Raffaele Viglianti < raffaeleviglianti@gmail.com>:
Ok, after banging my head a bit more I see that IT WORKS for regular customizations, but setting a localsource parameter seems to throw XInclude out of the window.
On Thu, Oct 5, 2017 at 5:00 PM, Peter Stadler <stadler@edirom.de> wrote:
It should work and I do use XIncludes in my ODDs. There is as well the option to use @source on various tagDocs elements and e.g. specGrpRef/@target which I use a lot (see https://github.com/Edirom/ WeGA-ODD/blob/develop/src/Guidelines/guidelines-de.xml for xinclude and https://github.com/Edirom/WeGA-ODD/blob/develop/src/ Specs/schemaSpec-biblio.odd.xml for specGrpRef).
I have an ANT script (https://github.com/Edirom/ WeGA-ODD/blob/develop/build.xml) for processing these which I copy-adjusted from some TEI ANT files.
Best Peter
Am 05.10.2017 um 20:02 schrieb Raffaele Viglianti < raffaeleviglianti@gmail.com>:
It looks like saxon is told to be xinclude aware, but it doesn't seem to happen. See https://github.com/TEIC/Stylesheets/blob/dev/common/ teianttasks.xml#L99
Will keep investigating.
Raff
On Thu, Oct 5, 2017 at 12:51 PM, Hugh Cayless <philomousos@gmail.com> wrote:
I'd have thought so, yes. Will need to look at the code to see if it does.
Sent from my phone.
On Oct 5, 2017, at 12:22, Raffaele Viglianti < raffaeleviglianti@gmail.com> wrote:
Hello,
I'm with MEI folks in Charlottesville and we'd like to use XInclude to help us modularize some of the MEI ODD source.
Would it make sense to expect something like bin/teitorelaxng to handle XInclude, or do we have to take care of it before passing it on to the stylesheets (we'd rather not)?
Thanks for your thoughts, Raff -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
-- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
PLEASE NOTE: postings to this list are publicly archived
participants (3)
-
Hugh Cayless
-
Peter Stadler
-
Raffaele Viglianti