# A simple Schematron demo for PHP 5.6.28 and Saxon/C 1.0.2
I got this to work in Lighthouse 64 Puppy Linux 6.02 Beta 2. http://lhpup.org/
Haven't yet tried it in any other GNU/Linux.
The Schematron files in the "code" folder all came from the official Schematron repo:
The "dog-properties.sch" Schematron schema is my slightly modified, simpler version of the "test-properties.sch" file included in the official Schematron repo.
Here's a helpful introduction to the XML-validation language Schematron:
To use Schematron, all you need is an XSLT processor, such as Saxon.
Saxon/C home page:
Documentation of Saxon/C PHP API:
Here's my blog post on making Saxon/C into a PHP extension:
Some Rox-Filer run action scripts I made to make it easier to run PHP scripts without a web server: