diff options
Diffstat (limited to 'affiliations.jats')
-rw-r--r-- | affiliations.jats | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/affiliations.jats b/affiliations.jats new file mode 100644 index 0000000..93238d2 --- /dev/null +++ b/affiliations.jats | |||
@@ -0,0 +1,38 @@ | |||
1 | $-- | ||
2 | $-- Affiliations | ||
3 | $-- | ||
4 | $for(affiliation)$ | ||
5 | <aff id="aff-$affiliation.id$"> | ||
6 | $-- wrap affiliation if it has a known institution identifier | ||
7 | $if(affiliation.group)$ | ||
8 | <institution content-type="group">$affiliation.group$</institution> | ||
9 | $endif$ | ||
10 | $if(affiliation.department)$ | ||
11 | <institution content-type="dept">$affiliation.department$</institution> | ||
12 | $endif$ | ||
13 | <institution-wrap> | ||
14 | $if(affiliation.organization)$ | ||
15 | <institution>$affiliation.organization$</institution> | ||
16 | $else$ | ||
17 | <institution>$affiliation.name$</institution> | ||
18 | $endif$ | ||
19 | $if(affiliation.isni)$ | ||
20 | <institution-id institution-id-type="ISNI">$affiliation.isni$</institution-id> | ||
21 | $endif$ | ||
22 | $if(affiliation.ringgold)$ | ||
23 | <institution-id institution-id-type="Ringgold">$affiliation.ringgold$</institution-id> | ||
24 | $endif$ | ||
25 | $if(affiliation.ror)$ | ||
26 | <institution-id institution-id-type="ROR">$affiliation.ror$</institution-id> | ||
27 | $endif$ | ||
28 | $for(affiliation.pid)$ | ||
29 | <institution-id institution-id-type="$affiliation.pid.type$">$affiliation.pid.id$</institution-id> | ||
30 | $endfor$ | ||
31 | </institution-wrap>$if(affiliation.street-address)$, | ||
32 | $for(affiliation.street-address)$ | ||
33 | <addr-line>$affiliation.street-address$</addr-line>$sep$, | ||
34 | $endfor$ | ||
35 | $else$$if(affiliation.city)$, <city>$affiliation.city$</city>$endif$$endif$$if(affiliation.country)$, | ||
36 | <country$if(affiliation.country-code)$ country="$affiliation.country-code$"$endif$>$affiliation.country$</country>$endif$ | ||
37 | </aff> | ||
38 | $endfor$ | ||