aboutsummaryrefslogtreecommitdiff
path: root/data/templates/affiliations.jats
blob: b6cc4f7d514463434e486531bb44721e0198054f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$--
$-- Affiliations
$--
$for(affiliation)$
<aff id="aff-$affiliation.id$">
$-- wrap affiliation if it has a known institution identifier
$if(affiliation.group)$
<institution content-type="group">$affiliation.group$</institution>
$endif$
$if(affiliation.department)$
<institution content-type="dept">$affiliation.department$</institution>
$endif$
<institution-wrap>
$if(affiliation.organization)$
<institution>$affiliation.organization$</institution>
$else$
<institution>$affiliation.name$</institution>
$endif$
$if(affiliation.isni)$
<institution-id institution-id-type="ISNI">$affiliation.isni$</institution-id>
$endif$
$if(affiliation.ringgold)$
<institution-id institution-id-type="Ringgold">$affiliation.ringgold$</institution-id>
$endif$
$if(affiliation.ror)$
<institution-id institution-id-type="ROR">$affiliation.ror$</institution-id>
$endif$
</institution-wrap>$if(affiliation.street-address)$,
$for(affiliation.street-address)$
<addr-line>$affiliation.street-address$</addr-line>$sep$,
$endfor$
$else$$if(affiliation.city)$, <city>$affiliation.city$</city>$endif$$endif$$if(affiliation.country)$,
<country$if(affiliation.country-code)$ country="$affiliation.country-code$"$endif$>$affiliation.country$</country>$endif$
</aff>
$endfor$