Share Schematron Files Across Projects
Posted: Tue Sep 22, 2020 11:39 pm
(Apologies if this is the incorrect category to ask this question)
I have a situation that I'd like some guidance/opinion on how to best handle.
I have several Schematron files that I want to use to automatically validate DITA/XML content in Oxygen. The problem is that I have several teams that are each using their own Oxygen Project File (.xpr) to manage their own individual projects, and each team wants to use these Schematron files in each of their separate projects.
So my question is what's the best way to share Schematron files across projects?
Currently, the Schematron files are stored in their own Git repository separate from the repositories where each project file is stored.
Obviously, I'd like to make the process for each technical writer/project user as painless as possible so this would mean they would need to clone only two repositories (the project repo and the Schematron repo).
I've looked into creating an external custom framework stored alongside the Schematron files that would call the Schematron files and could be referenced by each project, but I'm wondering if there's a better option available? Also, is there a way to validate that the custom framework exists on the user's computer and to throw an error when it doesn't? This would ensure that each project user is required to clone the Schematron repo.
Thanks for any guidance you can offer!
Daniel
I have a situation that I'd like some guidance/opinion on how to best handle.
I have several Schematron files that I want to use to automatically validate DITA/XML content in Oxygen. The problem is that I have several teams that are each using their own Oxygen Project File (.xpr) to manage their own individual projects, and each team wants to use these Schematron files in each of their separate projects.
So my question is what's the best way to share Schematron files across projects?
Currently, the Schematron files are stored in their own Git repository separate from the repositories where each project file is stored.
Obviously, I'd like to make the process for each technical writer/project user as painless as possible so this would mean they would need to clone only two repositories (the project repo and the Schematron repo).
I've looked into creating an external custom framework stored alongside the Schematron files that would call the Schematron files and could be referenced by each project, but I'm wondering if there's a better option available? Also, is there a way to validate that the custom framework exists on the user's computer and to throw an error when it doesn't? This would ensure that each project user is required to clone the Schematron repo.
Thanks for any guidance you can offer!
Daniel