-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Schematron schema generation from ODD #7
Comments
Hello, really cool stuff, will look more into Kiln's use of ODD. Just wondering if there's any way to use the TEI's Stylesheets? http://tei.svn.sourceforge.net/viewvc/tei/trunk/Stylesheets/odds2/ Particularly extract-sch.xsl and extract-isosch.xsl for this specific case. Best and great job! On Thu, Jul 26, 2012 at 1:46 AM, Jamie Norrish <
|
Thanks for the pointer to those XSLT, Raffaele - I'll certainly use extract-isosch.xsl as at least the basis for this work. My original thinking, that I'd appreciate feedback on, was to have two extractions of a schema from an ODD file: one built from the rules associated with the definition of the TEI, and the other built from the rules in an 'encoding guidelines' section of the ODD. That seemed a useful distinction when I planned this work, since the schema in the second case would link to a transformed-for-display version of the guidelines, but I am now thinking it might be simplest just to use all of the rules at once. This wouldn't prevent a link to the encoding guidelines for those rules from that section, so there doesn't seem to be any downside. |
d58ccde provides a much simplified form of the original intention, simply extracting all Schematron rules from an ODD file, and without yet linking to any documentation in that ODD. Such linking will probably wait until I have an actual example ODD containing project-specific encoding guidelines with associated Schematron rules, so I'm leaving this issue open. |
kiln/sitemaps/odd.xmap has the beginnings of a set of pipelines for extracting Schematron schema files from an ODD file. The XSLT to implement this need to be written.
The text was updated successfully, but these errors were encountered: