JATS Core

Introduction

Jats.core is a XSLT 2.0 - based framework for Jats document transformation to CXML.

General purpose

Jats.core is developed to avoid code duplication in projects with Jats documents conversion. Another benefit of this framework is reducing of project creation time. As a separate layer with jats-to-cxml transformation logic in can be reused in Jats based projects.

Design

Framework was designed considering extensibility and easy integration to the project. For these purposes module based architecture (see module list) with a single entry point (jats.xsl) was used. jats.xsl entry point connects all modules using the jats/jats-imports.xsl (see jats.xsl doc.) file import. All modules are connected via xsl:import instruction.

Jats.core modules are grouped by several criteria:

Feature list

Installation

Jats.core initiation steps:

Project build

Use Ant for project build. Ant targets list:

Unit tests description

XSPEC test framework is used for Unit tests creation. All test scenarios are grouped by modules according to their functionality and can be found in ‘test’ folder. Entry point for all modules is test-configuration.xsl which imports jats.xsl entry point and contains mocked up templates.

Contribution

All project changes should be reported in Jira:
https://wiki.typefi.com/display/TYPEFI/How+to+Create+a+Typefi+Support+Ticket