Skip to content

TypesetIO/jats-conversion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JATS conversion and validation

Check an XML file against:

Convert and validate against:

Usage

  • Run cd schema && make fetch to fetch all the resources.
  • Run tests/validate.sh filename to validate a JATS XML file.
  • Output: any validation errors; NLM style report; HTML article preview.

TODO

  • JS rules for validating the HTML
  • Microdata extraction tests

NOTE:

For testing against a particular dtd, just add the following below command in your xml file.

 <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving DTD v1.1 20120330//EN"
    "file://"{{LOCATION}}>

 example of {{Location}}: home/shanu/jats-conversion/schema/jats/archiving/1.1/JATS-Archiving-1-1-MathML3-DTD/JATS-archivearticle1-mathml3.dtd

The JATS-Archiving-1-1-MathML3-DTD is the entire folder containing the .dtd modules and .ent modules. You could download the zip file from ftp://ftp.ncbi.nlm.nih.gov/pub/jats/archiving/1.1/

About

Conversion and validation for JATS XML

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • XSLT 92.4%
  • PHP 5.0%
  • Shell 1.2%
  • Other 1.4%