diff --git a/README.md b/README.md index e91b1be..37e8c1f 100644 --- a/README.md +++ b/README.md @@ -2,27 +2,34 @@ ## What is this? -This repository contains an XSLT file that will translate [NISO NLM or JATS](http://jats.nlm.nih.gov/versions.html) -to [CrossRef Deposit XML](http://help.crossref.org/deposit_schema). +This repository contains an XSLT file that will translate [NISO NLM or JATS](https://jats.nlm.nih.gov/versions.html) +to [CrossRef Deposit XML](https://support.crossref.org/hc/en-us/articles/215577783-Creating-content-registration-XML). + +See for the current official XSLT stylesheet. + +Direct link to current version of stylesheet: +[`nlm-jats-crossref.xslt`](http://info.semprag.org/jats-crossref-xslt/nlm-jats-crossref.xslt) + ## How do I use this? -Either use CrossRef's [Web Deposit Form](http://www.crossref.org/webDeposit/) to deposit NISO NLM or JATS manually -or build the XSLT into a CrossRef deposit process using JAXP or your favourite language's XML and XSLT processing library. +Either use CrossRef's [Web Deposit Form](https://www.crossref.org/webDeposit/) to deposit NISO NLM or JATS manually +or build the XSLT into a CrossRef deposit process using JAXP or your favorite language's XML and XSLT processing library. -A commandline XSLT processor can be used for diagnositc and experimental purposes: +A command line XSLT processor can be used for diagnostic and experimental purposes: + +- [Xalan Java](http://xml.apache.org/xalan-j/commandline.html) +- [xsltproc](http://xmlsoft.org/XSLT/xsltproc.html) -- http://xml.apache.org/xalan-j/commandline.html -- http://xmlsoft.org/XSLT/xsltproc.html ## Supported NLM / JATS Versions -Currently the following NLM and JATS [versions](http://jats.nlm.nih.gov/versions.html) are supported: +Currently the following NLM and JATS [versions](https://jats.nlm.nih.gov/versions.html) are supported: -| Version | Notes | -|----------|---------| -| [NLM 2.3](http://dtd.nlm.nih.gov/2.3/) | | -| [NLM 3.0](http://dtd.nlm.nih.gov/3.0/) | | +| Version | Notes | +|------------------------------------------|---------| +| [NLM 2.3](http://dtd.nlm.nih.gov/2.3/) | | +| [NLM 3.0](http://dtd.nlm.nih.gov/3.0/) | | | [JATS 1.0](http://jats.nlm.nih.gov/1.0/) | | @@ -34,6 +41,7 @@ Currently the following NLM and JATS [versions](http://jats.nlm.nih.gov/versions ### Identifiers + ## Contributing CrossRef welcomes contributions to enhance this XSLT. Please make a pull request to contribute. diff --git a/nlm-jats-crossref.xslt b/nlm-jats-crossref.xslt index e190ebe..837c148 100644 --- a/nlm-jats-crossref.xslt +++ b/nlm-jats-crossref.xslt @@ -1,554 +1,461 @@ - - - - - - - - - - - - - - - - - - - - - http://www.crossref.org/schema/4.3.1 - http://www.crossref.org/schema/deposit/crossref4.3.1.xsd - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No article-id has been entered by user - - - - - - - - - - - - - - Publisher's Name not found in the input file - - - - - TBD - - - - - - - - Publisher's name not found in the input file - - - - - - - - - - - - - - - - - - - - - - - - Journal full title is not available in the Input file - - - - - - - - - - - - - - - - ISSN is not available in the Input file - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:apply-templates select="article-title"/> - - - - - - - - - - - - - - - - - - - - DOI entry is not available in the Input/Meta file(s) - - - - - - - - - - - - - No Resource entry has been entered by the user - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - key - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + 19700101000000 + labs-notifications@crossref.org + abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:apply-templates select="article-title"/> + + + + + + + + + + + + + + + + + + + + + + + DOI entry is not available in the Input/Meta file(s) + + + + + + + + + + No Resource entry has been entered by the user + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + , + + + +