Last active
October 28, 2017 23:26
-
-
Save michael/49282a96c05e9e4ff436ed64c0055df6 to your computer and use it in GitHub Desktop.
JATS4R Citations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<element-citation publication-type="book"> | |
<person-group person-group-type="author"> | |
<name> | |
<surname>John</surname> | |
<given-names>Smith</given-names> | |
</name> | |
</person-group> | |
<person-group person-group-type="editor"> | |
<name> | |
<surname>Jane</surname> | |
<given-names>Smith</given-names> | |
</name> | |
</person-group> | |
<chapter-title>Tobacco use</chapter-title> | |
<source>Clinical methods: the history, physical, and laboratory examinations</source> | |
<publisher-loc>Stoneham (MA)</publisher-loc> | |
<publisher-name>Butterworth Publishers</publisher-name> | |
<year>1990</year> | |
<month>10</month> | |
<day>5</day> | |
<fpage>214</fpage> | |
<lpage>216</lpage> | |
<page-range>214-216</page-range> | |
</element-citation> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<element-citation publication-type="journal"> | |
<person-group person-group-type="author"> | |
<name> | |
<surname>Doe</surname> | |
<given-names>John</given-names> | |
</name> | |
</person-group> | |
<person-group person-group-type="editor"> | |
<name> | |
<surname>Doe</surname> | |
<given-names>Jane</given-names> | |
</name> | |
</person-group> | |
<year>2009</year> | |
<month>10</month> | |
<day>5</day> | |
<article-title>Context-specific grasp movement representation in the macaque anterior intraparietal area</article-title> | |
<source>Journal of Neuroscience</source> | |
<volume>29</volume> | |
<fpage>6436</fpage> | |
<lpage>6448</lpage> | |
<pub-id pub-id-type="doi">10.1523/JNEUROSCI.5479-08.2009</pub-id> | |
</element-citation> |
Two minor differences:
- month and day are zero-padded, following JATS spec.
- DOIs are lowercase
Here is the second example in the DataCite production infrastructure: https://data.datacite.org/application/vnd.jats+xml/10.1523/jneurosci.5479-08.2009
Which returns
<?xml version="1.0" encoding="UTF-8"?>
<element-citation publication-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baumann</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Fluet</surname>
<given-names>M.-C.</given-names>
</name>
<name>
<surname>Scherberger</surname>
<given-names>H.</given-names>
</name>
</person-group>
<article-title>Context-Specific Grasp Movement Representation in the Macaque Anterior Intraparietal Area</article-title>
<source>Journal of Neuroscience</source>
<year iso-8601-date="2009-05-20">2009</year>
<month>05</month>
<day>20</day>
<volume>29</volume>
<pub-id pub-id-type="doi">10.1523/jneurosci.5479-08.2009</pub-id>
</element-citation>
Will check why fpage
and lpage
are missing.
Added fpage
and lpage
:
<?xml version="1.0" encoding="UTF-8"?>
<element-citation publication-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baumann</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Fluet</surname>
<given-names>M.-C.</given-names>
</name>
<name>
<surname>Scherberger</surname>
<given-names>H.</given-names>
</name>
</person-group>
<article-title>Context-Specific Grasp Movement Representation in the Macaque Anterior Intraparietal Area</article-title>
<source>Journal of Neuroscience</source>
<publisher-name/>
<year iso-8601-date="2009-05-20">2009</year>
<month>05</month>
<day>20</day>
<volume>29</volume>
<fpage>6436</fpage>
<lpage>6448</lpage>
<pub-id pub-id-type="doi">10.1523/jneurosci.5479-08.2009</pub-id>
</element-citation>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have implemented the second example (see datacite/bolognese#18). For the first example I would need a source of metadata, e.g. DOI or bibtex file.