NISO Journal Article Tag Suite (JATS) version 1.0
Preview XSLT stylesheets
For documentation on these stylesheets, see:
- quickstart.pdf -- "Bare bones" instructions
- user-docs.pdf -- User documentation including assumptions and limitations
- technical-docs.pdf -- More technical documentation, especially for those who wish to customize their environment or the stylesheets
Or the same documents in HTML format.
These same documents are included with tagging according to NISO JATS 1.0, from which the PDF and HTML was generated:
As such, they are suitable for testing the stylesheets.
As described in the documentation, these XSLT 1.0 transformations will work standalone:
To provide additional functionality, these stylesheets are also called into pipelines, which may be invoked using stylesheets included in the shells/saxon directory:
As described in the documentation, these are XSLT 2.0 with Saxon extensions, and require a recent version of the Saxon processor to run. (Tested under Saxon 9.4.)
Or if XProc is preferred, use the XProc versions (with the same names) given in the shells/xproc directory.
Plus, there is a CSS stylesheet to be used with HTML results of any of these processes (including the HTML versions of the documentation): *jats-preview.css
The file saxon-bug-readme.txt describes a bug that may be encountered when using one of the stylesheets with certain versions of Saxon (or with XProc invoking Saxon), which is most easily addressed by upgrading the tool (to a copy distributed since the bug was reported and fixed).
The following files are included in this distribution (as described in the documentation). Directories are in bold.
- shell-utility.xsl *xhtml-tables-fo.xsl
Our policy on merging changes:
These stylesheets are provided as a point of entry for JATS users who may not have the resources to create them from scratch. Because there are many varied implementations of JATS, you should have no expectation that these stylesheets will create production ready files in any arbitrary system. Instead, the stylesheets should be customized for your particular needs.
Because we view these stylesheets as a template for a customized solution, not the solution itself, we will accept changes that fix an actual bug, but we will not merge in changes that we view as “customization”. For example, we will accept changes that fix a problem which otherwise leads to failure in creating a final output file, but we will not accept changes that focus on presentational aspects of the final output (such as font changes, margin changes, graphics sizing, etc).
If you believe that you have a customization of the stylesheets that would benefit other users please fork this repository and announce your fork on the JATS mailing list, http://www.mulberrytech.com/JATS/JATS-List/.
This work is in the public domain and may be reproduced, published or otherwise used without the permission of the National Library of Medicine (NLM).
We request only that the NLM is cited as the source of the work.
Although all reasonable efforts have been taken to ensure the accuracy and reliability of the software and data, the NLM and the U.S. Government do not and cannot warrant the performance or results that may be obtained by using this software or data. The NLM and the U.S. Government disclaim all warranties, express or implied, including warranties of performance, merchantability or fitness for any particular purpose.