Stylesheet List
./jats.xsl
This is the main entry point stylesheet that can be used to run a pure JATS-to-CXML transform.
It's also imported by all JATS.core customizations.
jats/jats-article-back.xsl
Contains conversion logic that is specific for elements in
/article/back
.
jats/jats-article-body.xsl
Processes the most basic article elements such as
sec
, sec/label
, sec/title
and paragraphs.
jats/jats-article-front.xsl
Processes elements located in
/article/front
.
jats/jats-article.xsl
This module handles conversion of document element
<article>
and insertion of project and section fields.
jats/jats-boxed-text.xsl
Contains code for special processing of
<boxed-text>
and content within it.
jats/jats-break-up.xsl
Splits paragraphs that contain nested block elements
(such as
<table>
, <boxed-text>
, lists)
into 2 or more paragraphs during the preprocessing stage.
jats/jats-build-details.xsl
This stylesheet contains variables whose values will be populated with transformation metadata upon generation of delivery build.
jats/jats-character-mapping.xsl
Contains service code for functioning of
$text.character.mapping
.
This mapping variable should be used for applying character and soft styles to certain symbols or unicode ranges.
jats/jats-common.xsl
Handles miscellaneous elements that cannot be attributed to other modules.
jats/jats-cross-references.xsl
Dedicated module for conversion of
<xref>
and corresponding configuration.
jats/jats-disp-quote.xsl
Contains templates for special processing of quotes and their contents.
jats/jats-figures.xsl
Covers processing of figures, their content, detection of target
tps:context/@type
and tps:context/@variant
.
jats/jats-functions.xsl
Contains all auxiliary and general-purpose functions which cannot be attributed to one particular module.
jats/jats-glossary.xsl
Converts glossary (definitions list) and its content.
jats/jats-graphics.xsl
Converts images and contains logic for image path recognition and composition.
jats/jats-imports.xsl
Single place of importing for all modules.
jats/jats-lists.xsl
Contains list-related features: conversion of lists, recognition of list type, determination of target list paragraph styles.
jats/jats-main.xsl
Converts the whole document in 3 modes: "
pre-processing
", "#default
" and "post-processing
".jats/jats-math.xsl
Contains conversion logic for math elements like
<disp-formula>
.
jats/jats-messages.xsl
Contains named templates for generating info, warnings and errors messages.
jats/jats-post-processing.xsl
Contains templates in "post-processing " mode that perform CXML-to-CXML conversion to finalize the content.
jats/jats-pre-processing.xsl
Contains templates in "
pre-processing
" mode that perform preliminary JATS-to-JATS conversion.
jats/jats-references.xsl
Contains conversion logic for references
jats/jats-settings.xsl
Contains global parameters and variables
jats/jats-styles.xsl
Contains conversion logic for character and soft styles
jats/jats-tables-xhtml-to-cals.xsl
Converts XHTML tables to Cals table
jats/jats-tables.xsl
Converts tables to cxml
jats/jats-templates.xsl
Contains template for generating build info for cxml
jats/jats-text-keeps-mapping.xsl
Contains logic for mapping text
jats/jats-text.xsl
Contains conversion logic for text processing.
jats/jats-unknown-elements.xsl
Reports XML elements which weren't transformed by JATS.core or applied customization