Friday, 7 February 2014

Schematron resources

At the beginning of the week I needed to create a Schematron sample in a hurry. I had done it before, a long time ago, on another machine. It did not help that http://www.schematron.com was, and still is, down. This article is a record of the resources I found at the time and later.

First https://code.google.com/p/schematron/ seems to be the place to get an implementation of ISO Schematron. This comes as a set of XSLT files. The wiki suggests a number of options for running these, which led me to the excellent tutorial at http://www.dpawson.co.uk/schematron/.

 In a hurry and not wanting to set up a batch file  I remembered that Kernow has a Schematron option. Sadly I could not find any documentation for this and the Web start option seems to have become a victim of enhanced security policies.
Another useful tutorial, with example business logic from the Ark, is data2type schematron introduction

XML Database Schematron support

 Other tools

It seems to me it would be nice to have a  http://expath.org/ module that wrapped up the Schematron functionality and made it easy to install. Something like ML-Schematron that could run in BaseX or ExistDb.

No comments:

Post a Comment