# 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.
Packaged together but mostly not authored by Apollia, except for the PHP script and this Readme. Both are under the GNU Affero General Public License 3.0. https://www.gnu.org/licenses
The "dog-properties.sch" Schematron schema is my slightly modified, simpler version of the "test-properties.sch" file included in the official Schematron repo.
The Schematron files in the "code" folder are unmodified and came from the official Schematron repo (downloaded Feb. 3, 2017, at 6:35:22 AM EST):
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: