xsl-list
[Top] [All Lists]

[xsl] Schematron Including Schematron

2016-05-26 13:57:49
Dear all,
I am sure people would have had this issue before. want to know how to
resolve the issue of schematron that needs to import another
schematron ..

The issue is when a common set of rules are in many schematrons. I
dont see a way I can do this ..
So I did the following.. Invented a new element with the following structure
<includesch document = "../common.sch" rule-name = "common1"/>

The <includesch> can be added anywhere you want in the main schematron
document..

and I wrote a compiler that should be run before the first compilation
/ THis precompiler will bring the rule from the common document and
append it into my main document, where I had added the <includesch>

This works fine within the altova environment but fails within my Java
environment , as my environment comes up with issues with class path
etc, and it does not find the common.sch.. I have asked the Java
developers to look into the class path and why common.sch is being
looked in a different location. In the meantime, I wanted to know, if
this is the right approach, or if there is some element within the
schematron library that I can use.

May be there is and I am not finding it, may be I am not looking in
the right place.

May be there is any other approach for this?

Your help will be appreciated.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>