JATS templates: ensure jats_publishing output is valid
This commit is contained in:
parent
07e434850d
commit
7af608b214
3 changed files with 17 additions and 0 deletions
|
@ -14,6 +14,13 @@ $endif$
|
|||
$if(journal.pmc)$
|
||||
<journal-id journal-id-type="pmc">$journal.pmc$</journal-id>
|
||||
$endif$
|
||||
$-- Fallback: an empty journal-id in case none is available.
|
||||
$if(journal.publisher-id)$
|
||||
$elseif(journal.nlm-ta)$
|
||||
$elseif(journal.pmc)$
|
||||
$else$
|
||||
<journal-id></journal-id>
|
||||
$endif$
|
||||
<journal-title-group>
|
||||
$if(journal.title)$
|
||||
<journal-title>$journal.title$</journal-title>
|
||||
|
@ -28,6 +35,12 @@ $endif$
|
|||
$if(journal.eissn)$
|
||||
<issn pub-type="epub">$journal.eissn$</issn>
|
||||
$endif$
|
||||
$-- At least one issn element is required; use empty issn as fallback
|
||||
$if(journal.pissn)$
|
||||
$elseif(journal.eissn)$
|
||||
$else$
|
||||
<issn></issn>
|
||||
$endif$
|
||||
<publisher>
|
||||
<publisher-name>$journal.publisher-name$</publisher-name>
|
||||
$if(journal.publisher-loc)$
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
|
||||
<front>
|
||||
<journal-meta>
|
||||
<journal-id></journal-id>
|
||||
<journal-title-group>
|
||||
</journal-title-group>
|
||||
<issn></issn>
|
||||
<publisher>
|
||||
<publisher-name></publisher-name>
|
||||
</publisher>
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
|
||||
<front>
|
||||
<journal-meta>
|
||||
<journal-id></journal-id>
|
||||
<journal-title-group>
|
||||
</journal-title-group>
|
||||
<issn></issn>
|
||||
<publisher>
|
||||
<publisher-name></publisher-name>
|
||||
</publisher>
|
||||
|
|
Loading…
Reference in a new issue