-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix for 88819 Relates to elifesciences/enhanced-preprints-import#1515 * Fix for 90293 Unblocks elifesciences/enhanced-preprints-import#1534 * Fix for 87238v2 Unblocks elifesciences/enhanced-preprints-import#1616 * Fix for 90333v2 * Minor update to 90333 ref fix
- Loading branch information
1 parent
0611990
commit bd8b9fd
Showing
13 changed files
with
3,274 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
exclude-result-prefixes="xs" | ||
version="3.0"> | ||
|
||
<xsl:output method="xml" encoding="UTF-8"/> | ||
|
||
<xsl:template match="*|@*|text()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="*|@*|text()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
<xsl:template match="article[//article-meta/article-version='1.3']//ref[@id='c61']"> | ||
<ref id="c61"><label>61.</label><mixed-citation publication-type="journal"><string-name><given-names>H.</given-names> <surname>Pelicano</surname></string-name>, <string-name><given-names>D. S.</given-names> <surname>Martin</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Xu</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Huang</surname></string-name>, <article-title>Glycolysis inhibition for anticancer treatment</article-title>. <source>Oncogene</source>. <fpage>4633</fpage>–<lpage>4646</lpage> (<year>2006</year>).</mixed-citation></ref> | ||
</xsl:template> | ||
|
||
<xsl:template match="article[//article-meta/article-version='1.3']//ref[@id='c73']"> | ||
<ref id="c73"><label>73.</label><mixed-citation publication-type="journal"><string-name><given-names>A.</given-names> <surname>Walvekar</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Rashida</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Maddali</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Laxman</surname></string-name>, <article-title>A versatile LC-MS / MS approach for comprehensive, quantitative analysis of central metabolic pathways [version 1; peer review : 2 approved]</article-title>. <source>Wellcome Open Res</source> <fpage>1</fpage>–<lpage>15</lpage> (<year>2018</year>).</mixed-citation></ref> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
exclude-result-prefixes="xs" | ||
version="3.0"> | ||
|
||
<xsl:output method="xml" encoding="UTF-8"/> | ||
|
||
<xsl:template match="*|@*|text()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="*|@*|text()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
<xsl:template match="article[//article-meta/article-version='1.3']//article-meta//contrib[@contrib-type='author']"> | ||
<xsl:choose> | ||
<xsl:when test="./name/surname='Hage'"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*"/> | ||
<xsl:apply-templates select="name|contrib-id"/> | ||
<email>[email protected]</email> | ||
<xsl:apply-templates select="*[not(name()=('name','contrib-id')) and not(@ref-type='corresp')]"/> | ||
</xsl:copy> | ||
</xsl:when> | ||
<xsl:when test="./name/surname='Shadmehr'"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*"/> | ||
<xsl:attribute name="corresp">yes</xsl:attribute> | ||
<xsl:apply-templates select="name|contrib-id"/> | ||
<email>[email protected]</email> | ||
<xsl:apply-templates select="*[not(name()=('name','contrib-id')) and not(@ref-type='corresp')]"/> | ||
</xsl:copy> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:copy> | ||
<xsl:apply-templates select="*|@*|text()"/> | ||
</xsl:copy> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:template> | ||
|
||
<xsl:template match="article[//article-meta/article-version='1.3']//article-meta/author-notes/corresp"/> | ||
|
||
</xsl:stylesheet> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
exclude-result-prefixes="xs" | ||
version="3.0"> | ||
|
||
<xsl:output method="xml" encoding="UTF-8"/> | ||
|
||
<xsl:template match="*|@*|text()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="*|@*|text()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
<xsl:template match="article[//article-meta/article-version='1.2']//disp-formula[graphic/@xlink:href=('535725v2_ueqn1.gif','535725v2_ueqn2.gif','535725v2_ueqn3.gif')]"> | ||
<disp-quote/> | ||
<xsl:text>
</xsl:text> | ||
<xsl:copy> | ||
<xsl:apply-templates select="*|@*|text()"/> | ||
</xsl:copy> | ||
<xsl:text>
</xsl:text> | ||
<disp-quote/> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
exclude-result-prefixes="xs" | ||
version="3.0"> | ||
|
||
<xsl:output method="xml" encoding="UTF-8"/> | ||
|
||
<xsl:template match="*|@*|text()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="*|@*|text()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
<xsl:template match="article[//article-meta/article-version='1.3']//ref[@id='c1']"> | ||
<ref id="c1"><mixed-citation publication-type="journal"><string-name><surname>Abad</surname> <given-names>C</given-names></string-name>, <string-name><surname>Cook</surname> <given-names>MM</given-names></string-name>, <string-name><surname>Cao</surname> <given-names>L</given-names></string-name>, <string-name><surname>Jones</surname> <given-names>JR</given-names></string-name>, <string-name><surname>Rao</surname> <given-names>NR</given-names></string-name>, <string-name><surname>Dukes-Rimsky</surname> <given-names>L</given-names></string-name>, <string-name><surname>Pauly</surname> <given-names>R</given-names></string-name>, <string-name><surname>Skinner</surname> <given-names>C</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Luo</surname> <given-names>F</given-names></string-name> <string-name><surname>et al</surname></string-name> (<year>2018</year>) <article-title>A Rare De Novo RAI1 Gene Mutation Affecting BDNF-Enhancer-Driven Transcription Activity Associated with Autism and Atypical Smith-Magenis Syndrome Presentation</article-title>. <source>Biology (Basel)</source> <elocation-id>7</elocation-id></mixed-citation></ref> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
Oops, something went wrong.