JATS4R / old-website

Static Jekyll site for JATS4R.org
http://jats4r.org/
The Unlicense
5 stars 2 forks source link

[CLOSED] update documentation to provide command line examples #7

Closed Klortho closed 9 years ago

Klortho commented 9 years ago

Issue by IanMulvany Wednesday Nov 19, 2014 at 13:22 GMT Originally opened as https://github.com/JATS4R/validation/issues/4


I'm showing my relative ignorance here, as I'm very new to XSLT, I don't know how to run a validation.

From the documentation available at this blog post: http://blog.eight02.com/2011/05/validating-xml-with-iso-schematron-on.html I downloaded saxon9he.jar and then tried to run the following command:

➜ validation git:(master) ✗ java -jar saxon9he.jar -o:output.xsl -s:jats4r-errlevel-0.sch No stylesheet file name

I freely admit that i don't know what I'm doing here, so perhaps some command line examples might help people like me?

Klortho commented 9 years ago

Comment by hubgit Wednesday Dec 31, 2014 at 16:57 GMT


I think the missing stylesheet file name at the end of the command is iso_svrl_for_xslt2.xsl, which is in iso-schematron-xslt2.zip from http://www.schematron.com/implementation.html

Klortho commented 9 years ago

Comment by Klortho Friday Apr 03, 2015 at 16:08 GMT


@IanMulvany , I did some work to automate a lot of things, and include library dependencies into this repo. The README file now has detailed usage instructions, starting with "Setup" and then "Validating a JATS file". If you get a chance to try it, let us know if you run into any snags.