libis-format 1.0.4 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +5 -1
  3. data/.travis.yml +43 -25
  4. data/README.md +2 -2
  5. data/base/Dockerfile +35 -0
  6. data/base/Dockerfile.alpine +20 -0
  7. data/base/Dockerfile.rvm +56 -0
  8. data/base/rework_path +20 -0
  9. data/docker_cfg.yml +1 -0
  10. data/lib/libis/format.rb +12 -3
  11. data/lib/libis/format/cli/convert.rb +4 -4
  12. data/lib/libis/format/config.rb +15 -10
  13. data/lib/libis/format/converter/audio_converter.rb +3 -37
  14. data/lib/libis/format/converter/base.rb +22 -8
  15. data/lib/libis/format/converter/chain.rb +3 -3
  16. data/lib/libis/format/converter/image_assembler.rb +82 -0
  17. data/lib/libis/format/converter/image_converter.rb +20 -138
  18. data/lib/libis/format/converter/image_splitter.rb +84 -0
  19. data/lib/libis/format/converter/image_watermarker.rb +261 -0
  20. data/lib/libis/format/converter/jp2_converter.rb +2 -2
  21. data/lib/libis/format/converter/office_converter.rb +2 -2
  22. data/lib/libis/format/converter/pdf_assembler.rb +66 -0
  23. data/lib/libis/format/converter/pdf_converter.rb +10 -134
  24. data/lib/libis/format/converter/pdf_metadata.rb +82 -0
  25. data/lib/libis/format/converter/pdf_optimizer.rb +67 -0
  26. data/lib/libis/format/converter/pdf_protecter.rb +147 -0
  27. data/lib/libis/format/converter/pdf_selecter.rb +83 -0
  28. data/lib/libis/format/converter/pdf_splitter.rb +70 -0
  29. data/lib/libis/format/converter/pdf_watermarker_header.rb +71 -0
  30. data/lib/libis/format/converter/pdf_watermarker_image.rb +76 -0
  31. data/lib/libis/format/converter/pdf_watermarker_text.rb +93 -0
  32. data/lib/libis/format/converter/spreadsheet_converter.rb +2 -2
  33. data/lib/libis/format/converter/video_converter.rb +1 -1
  34. data/lib/libis/format/identifier.rb +3 -3
  35. data/lib/libis/format/info.rb +27 -0
  36. data/lib/libis/format/library.rb +147 -0
  37. data/lib/libis/format/tool.rb +4 -1
  38. data/lib/libis/format/tool/droid.rb +2 -2
  39. data/lib/libis/format/tool/extension_identification.rb +4 -4
  40. data/lib/libis/format/tool/ffmpeg.rb +1 -1
  41. data/lib/libis/format/tool/fido.rb +1 -1
  42. data/lib/libis/format/tool/fop_pdf.rb +1 -1
  43. data/lib/libis/format/tool/identification_tool.rb +6 -6
  44. data/lib/libis/format/tool/office_to_pdf.rb +1 -1
  45. data/lib/libis/format/tool/pdf_merge.rb +4 -4
  46. data/lib/libis/format/tool/{pdf_copy.rb → pdf_metadata.rb} +6 -6
  47. data/lib/libis/format/tool/pdf_protect.rb +47 -0
  48. data/lib/libis/format/tool/pdf_select.rb +47 -0
  49. data/lib/libis/format/tool/pdf_split.rb +5 -5
  50. data/lib/libis/format/tool/pdf_to_pdfa.rb +1 -2
  51. data/lib/libis/format/tool/pdf_watermark.rb +47 -0
  52. data/lib/libis/format/tool/pdfa_validator.rb +3 -4
  53. data/lib/libis/format/tool/spreadsheet_to_ods.rb +2 -1
  54. data/lib/libis/format/version.rb +1 -1
  55. data/lib/libis/format/yaml_loader.rb +71 -0
  56. data/libis-format.gemspec +5 -4
  57. data/tools/PdfTool.jar +0 -0
  58. data/tools/bcpkix-jdk15on-167.jar +0 -0
  59. data/tools/bcprov-jdk15on-167.jar +0 -0
  60. data/tools/fop/build/fop.jar +0 -0
  61. data/tools/fop/conf/fop.xconf +466 -0
  62. data/tools/fop/fop +258 -0
  63. data/tools/fop/fop.bat +75 -0
  64. data/tools/fop/fop.cmd +31 -0
  65. data/tools/fop/fop.js +341 -0
  66. data/tools/fop/lib/README.txt +243 -0
  67. data/tools/fop/lib/avalon-framework-api-4.3.1.jar +0 -0
  68. data/tools/fop/lib/avalon-framework-impl-4.3.1.jar +0 -0
  69. data/tools/fop/lib/avalon-framework.LICENSE.txt +175 -0
  70. data/tools/fop/lib/avalon-framework.NOTICE.TXT +11 -0
  71. data/tools/fop/lib/batik-all-1.10.jar +0 -0
  72. data/tools/fop/lib/batik.LICENSE.txt +201 -0
  73. data/tools/fop/lib/batik.NOTICE.txt +18 -0
  74. data/tools/fop/lib/commons-io-1.3.1.jar +0 -0
  75. data/tools/fop/lib/commons-io.LICENSE.txt +203 -0
  76. data/tools/fop/lib/commons-io.NOTICE.txt +6 -0
  77. data/tools/fop/lib/commons-logging-1.0.4.jar +0 -0
  78. data/tools/fop/lib/commons-logging.LICENSE.txt +202 -0
  79. data/tools/fop/lib/commons-logging.NOTICE.txt +3 -0
  80. data/tools/fop/lib/fontbox-2.0.7.jar +0 -0
  81. data/tools/fop/lib/serializer-2.7.2.jar +0 -0
  82. data/tools/fop/lib/serializer.LICENSE.txt +201 -0
  83. data/tools/fop/lib/serializer.NOTICE.txt +15 -0
  84. data/tools/fop/lib/xalan-2.7.2.jar +0 -0
  85. data/tools/fop/lib/xalan.BCEL.LICENSE.txt +52 -0
  86. data/tools/fop/lib/xalan.LICENSE.txt +202 -0
  87. data/tools/fop/lib/xalan.NOTICE.txt +44 -0
  88. data/tools/fop/lib/xalan.regexp.LICENSE.txt +52 -0
  89. data/tools/fop/lib/xalan.runtime.LICENSE.txt +20 -0
  90. data/tools/fop/lib/xerces.LICENSE.txt +56 -0
  91. data/tools/fop/lib/xercesImpl-2.9.1.jar +0 -0
  92. data/tools/fop/lib/xercesImpl.LICENSE.txt +201 -0
  93. data/tools/fop/lib/xercesImpl.NOTICE.txt +14 -0
  94. data/tools/fop/lib/xml-apis-1.3.04.jar +0 -0
  95. data/tools/fop/lib/xml-apis-ext-1.3.04.jar +0 -0
  96. data/tools/fop/lib/xml-apis-ext.LICENSE.dom-documentation.txt +73 -0
  97. data/tools/fop/lib/xml-apis-ext.LICENSE.dom-software.txt +61 -0
  98. data/tools/fop/lib/xml-apis-ext.LICENSE.sac.html +75 -0
  99. data/tools/fop/lib/xml-apis-ext.LICENSE.txt +202 -0
  100. data/tools/fop/lib/xml-apis-ext.NOTICE.txt +16 -0
  101. data/tools/fop/lib/xml-apis-ext.README.dom.txt +56 -0
  102. data/tools/fop/lib/xml-apis.LICENSE-SAX.html +17 -0
  103. data/tools/fop/lib/xml-apis.LICENSE.DOM-documentation.html +74 -0
  104. data/tools/fop/lib/xml-apis.LICENSE.DOM-software.html +66 -0
  105. data/tools/fop/lib/xml-apis.LICENSE.txt +201 -0
  106. data/tools/fop/lib/xml-apis.NOTICE.txt +13 -0
  107. data/tools/fop/lib/xmlgraphics-commons-2.3.jar +0 -0
  108. data/tools/fop/lib/xmlgraphics-commons.LICENSE.txt +202 -0
  109. data/tools/fop/lib/xmlgraphics-commons.NOTICE.txt +5 -0
  110. data/tools/pdfbox/pdfbox-app-2.0.13.jar +0 -0
  111. data/tools/pdfbox/{pdfbox-app-1.8.10.jar → preflight-app-2.0.13.jar} +0 -0
  112. metadata +86 -246
  113. data/lib/libis/format/type_database.rb +0 -134
  114. data/lib/libis/format/type_database_impl.rb +0 -120
  115. data/spec/converter_audio_spec.rb +0 -66
  116. data/spec/converter_fop_spec.rb +0 -37
  117. data/spec/converter_image_spec.rb +0 -166
  118. data/spec/converter_office_spec.rb +0 -84
  119. data/spec/converter_pdf_spec.rb +0 -30
  120. data/spec/converter_repository_spec.rb +0 -97
  121. data/spec/converter_spreadsheet_spec.rb +0 -39
  122. data/spec/converter_video_spec.rb +0 -97
  123. data/spec/converter_xsl_spec.rb +0 -56
  124. data/spec/data/Cevennes2.bmp +0 -0
  125. data/spec/data/Cevennes2.jp2 +0 -0
  126. data/spec/data/Cevennes2.ppm +0 -22492
  127. data/spec/data/NikonRaw-CameraRaw.TIF +0 -0
  128. data/spec/data/NikonRaw-CaptureOne.tif +0 -0
  129. data/spec/data/audio/carlin_disappointed.aac +0 -0
  130. data/spec/data/audio/carlin_disappointed.ac3 +0 -0
  131. data/spec/data/audio/carlin_disappointed.aiff +0 -0
  132. data/spec/data/audio/carlin_disappointed.au +0 -0
  133. data/spec/data/audio/carlin_disappointed.flac +0 -0
  134. data/spec/data/audio/carlin_disappointed.m4a +0 -0
  135. data/spec/data/audio/carlin_disappointed.mka +0 -0
  136. data/spec/data/audio/carlin_disappointed.mp3 +0 -0
  137. data/spec/data/audio/carlin_disappointed.ogg +0 -0
  138. data/spec/data/audio/carlin_disappointed.ra +0 -0
  139. data/spec/data/audio/carlin_disappointed.voc +0 -0
  140. data/spec/data/audio/carlin_disappointed.wav +0 -0
  141. data/spec/data/audio/carlin_disappointed.wma +0 -0
  142. data/spec/data/audio/greensleeves.aac +0 -0
  143. data/spec/data/audio/greensleeves.ac3 +0 -0
  144. data/spec/data/audio/greensleeves.aiff +0 -0
  145. data/spec/data/audio/greensleeves.au +0 -0
  146. data/spec/data/audio/greensleeves.flac +0 -0
  147. data/spec/data/audio/greensleeves.m4a +0 -0
  148. data/spec/data/audio/greensleeves.mka +0 -0
  149. data/spec/data/audio/greensleeves.mp3 +0 -0
  150. data/spec/data/audio/greensleeves.ogg +0 -0
  151. data/spec/data/audio/greensleeves.ra +0 -0
  152. data/spec/data/audio/greensleeves.voc +0 -0
  153. data/spec/data/audio/greensleeves.wav +0 -0
  154. data/spec/data/audio/greensleeves.wma +0 -0
  155. data/spec/data/audio/king_nonviolence.aac +0 -0
  156. data/spec/data/audio/king_nonviolence.ac3 +0 -0
  157. data/spec/data/audio/king_nonviolence.aiff +0 -0
  158. data/spec/data/audio/king_nonviolence.au +0 -0
  159. data/spec/data/audio/king_nonviolence.flac +0 -0
  160. data/spec/data/audio/king_nonviolence.m4a +0 -0
  161. data/spec/data/audio/king_nonviolence.mka +0 -0
  162. data/spec/data/audio/king_nonviolence.mp3 +0 -0
  163. data/spec/data/audio/king_nonviolence.ogg +0 -0
  164. data/spec/data/audio/king_nonviolence.ra +0 -0
  165. data/spec/data/audio/king_nonviolence.voc +0 -0
  166. data/spec/data/audio/king_nonviolence.wav +0 -0
  167. data/spec/data/audio/king_nonviolence.wma +0 -0
  168. data/spec/data/audio/top_gun_secret.aac +0 -0
  169. data/spec/data/audio/top_gun_secret.ac3 +0 -0
  170. data/spec/data/audio/top_gun_secret.aiff +0 -0
  171. data/spec/data/audio/top_gun_secret.au +0 -0
  172. data/spec/data/audio/top_gun_secret.flac +0 -0
  173. data/spec/data/audio/top_gun_secret.m4a +0 -0
  174. data/spec/data/audio/top_gun_secret.mka +0 -0
  175. data/spec/data/audio/top_gun_secret.mp3 +0 -0
  176. data/spec/data/audio/top_gun_secret.ogg +0 -0
  177. data/spec/data/audio/top_gun_secret.ra +0 -0
  178. data/spec/data/audio/top_gun_secret.voc +0 -0
  179. data/spec/data/audio/top_gun_secret.wav +0 -0
  180. data/spec/data/audio/top_gun_secret.wma +0 -0
  181. data/spec/data/multipage.tif +0 -0
  182. data/spec/data/multipage.tif.jp2 +0 -0
  183. data/spec/data/test-ead.xml +0 -392
  184. data/spec/data/test-jpg.tif +0 -0
  185. data/spec/data/test-lzw.tif +0 -0
  186. data/spec/data/test-options.jpg +0 -0
  187. data/spec/data/test-options.png +0 -0
  188. data/spec/data/test.bmp +0 -0
  189. data/spec/data/test.doc +0 -0
  190. data/spec/data/test.docx +0 -0
  191. data/spec/data/test.gif +0 -0
  192. data/spec/data/test.jpg +0 -0
  193. data/spec/data/test.ods +0 -0
  194. data/spec/data/test.odt +0 -0
  195. data/spec/data/test.pdf +0 -0
  196. data/spec/data/test.pdf.tif +0 -0
  197. data/spec/data/test.png +0 -0
  198. data/spec/data/test.ps +0 -8631
  199. data/spec/data/test.psd +0 -0
  200. data/spec/data/test.rtf +0 -1455
  201. data/spec/data/test.tif +0 -0
  202. data/spec/data/test.txt +0 -12
  203. data/spec/data/test.xcf +0 -0
  204. data/spec/data/test.xls +0 -0
  205. data/spec/data/test.xlsx +0 -0
  206. data/spec/data/test.xml +0 -4
  207. data/spec/data/test_pdfa.pdf +0 -0
  208. data/spec/data/video/SampleVideo_1080x720_2mb.flv +0 -0
  209. data/spec/data/video/SampleVideo_1080x720_2mb.mkv +0 -0
  210. data/spec/data/video/SampleVideo_1080x720_2mb.mp4 +0 -0
  211. data/spec/data/video/SampleVideo_176x144_2mb.3gp +0 -0
  212. data/spec/data/video/SampleVideo_320x240_2mb.3gp +0 -0
  213. data/spec/data/video/SampleVideo_360x240_2mb.flv +0 -0
  214. data/spec/data/video/SampleVideo_360x240_2mb.mkv +0 -0
  215. data/spec/data/video/SampleVideo_360x240_2mb.mp4 +0 -0
  216. data/spec/data/video/copyright.png +0 -0
  217. data/spec/data/xml/134476_ead.XML +0 -1
  218. data/spec/data/xml/134476_ead.pdf +0 -0
  219. data/spec/data/xml/134476_fo.XML +0 -383
  220. data/spec/data/xml/134476_raw.XML +0 -141
  221. data/spec/data/xml/ead2fo_pdf.xsl +0 -1453
  222. data/spec/data/xml/header_nolink_pdf.xsl +0 -120
  223. data/spec/data/xml/lookupLists.xsl +0 -488
  224. data/spec/data/xml/scope_eadToHTML.xsl +0 -2376
  225. data/spec/data/xml/scope_xmlToEAD_dom.xsl +0 -952
  226. data/spec/identifier_spec.rb +0 -161
  227. data/spec/spec_helper.rb +0 -58
  228. data/spec/test_types.yml +0 -12
  229. data/spec/type_database_spec.rb +0 -140
  230. data/tools/bcpkix-jdk15on-1.49.jar +0 -0
  231. data/tools/bcprov-jdk15on-1.49.jar +0 -0
  232. data/tools/pdfbox/preflight-app-1.8.10.jar +0 -0
@@ -1,120 +0,0 @@
1
- <?xml version="1.0" encoding="windows-1252"?>
2
- <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
-
4
- <xsl:variable name="REC_ID" select="ead/eadheader/eadid/@identifier"/>
5
- <xsl:variable name="TITLE_HEADER" select="ead/eadheader[1]/filedesc[1]/titlestmt[1]/titleproper[1]"/>
6
- <xsl:variable name="XML_SCOPE_OPAC" select="'http://abs.lias.be/Query/detail.aspx?ID='"/>
7
-
8
- <xsl:variable name="DISP_TITEL_TOC" select="'Inhoudstafel'"/>
9
- <xsl:variable name="DISP_TITEL_MAIN" select="'Inleiding'"/>
10
- <xsl:variable name="DISP_TITEL_1" select="'&#x2022; IDENTIFICATIE'"/>
11
- <xsl:variable name="DISP_TITEL_1_1" select="'Referentie'"/>
12
- <xsl:variable name="DISP_TITEL_1_2" select="'Titel'"/>
13
- <xsl:variable name="DISP_TITEL_1_3" select="'Datering'"/>
14
- <xsl:variable name="DISP_TITEL_1_4" select="'Omvang en medium'"/>
15
- <xsl:variable name="DISP_TITEL_2" select="'&#x2022; CONTEXT'"/>
16
- <xsl:variable name="DISP_TITEL_2_1" select="'Naam van de archiefvormer(s)'"/>
17
- <xsl:variable name="DISP_TITEL_2_2" select="'Institutionele geschiedenis / Biografie'"/>
18
- <xsl:variable name="DISP_TITEL_2_3" select="'Geschiedenis van het archief'"/>
19
- <xsl:variable name="DISP_TITEL_2_4" select="'Verwerving'"/>
20
- <xsl:variable name="DISP_TITEL_3" select="'&#x2022; INHOUD EN STRUCTUUR'"/>
21
- <xsl:variable name="DISP_TITEL_3_1" select="'Bereik en inhoud'"/>
22
- <xsl:variable name="DISP_TITEL_3_2" select="'Selectie'"/>
23
- <xsl:variable name="DISP_TITEL_3_3" select="'Aanvullingen'"/>
24
- <xsl:variable name="DISP_TITEL_3_4" select="'Ordening'"/>
25
- <xsl:variable name="DISP_TITEL_4" select="'&#x2022; VOORWAARDEN VOOR RAADPLEGING EN GEBRUIK'"/>
26
- <xsl:variable name="DISP_TITEL_4_1" select="'Voorwaarden voor raadpleging'"/>
27
- <xsl:variable name="DISP_TITEL_4_2" select="'Voorwaarden voor reproductie'"/>
28
- <xsl:variable name="DISP_TITEL_4_3" select="'Taal en schrift'"/>
29
- <xsl:variable name="DISP_TITEL_4_4" select="'Fysieke kenmerken en technische vereisten'"/>
30
- <xsl:variable name="DISP_TITEL_4_5" select="'Toegangen'"/>
31
- <xsl:variable name="DISP_TITEL_5" select="'&#x2022; VERWANT MATERIAAL'"/>
32
- <xsl:variable name="DISP_TITEL_5_1" select="'Bestaan en bewaarplaats van originelen'"/>
33
- <xsl:variable name="DISP_TITEL_5_2" select="'Bestaan en bewaarplaats van kopie�n'"/>
34
- <xsl:variable name="DISP_TITEL_5_3" select="'Verwante beschrijvingseenheden'"/>
35
- <xsl:variable name="DISP_TITEL_5_4" select="'Publicaties'"/>
36
- <xsl:variable name="DISP_TITEL_6" select="'&#x2022; AANTEKENINGEN'"/>
37
- <xsl:variable name="DISP_TITEL_6_1" select="'Aantekening'"/>
38
- <xsl:variable name="DISP_TITEL_7" select="'&#x2022; BESCHRIJVINGSBEHEER'"/>
39
- <xsl:variable name="DISP_TITEL_7_1" select="'Verantwoording'"/>
40
- <xsl:variable name="DISP_TITEL_7_2" select="'Regels of afspraken'"/>
41
- <xsl:variable name="DISP_TITEL_7_3" select="'Datering van de beschrijvingen'"/>
42
- <xsl:variable name="DISP_TITEL_7_4" select="'Trefwoorden: '"/>
43
- <xsl:variable name="EAD_ARCHIVAL_TYPE" select="/ead/archdesc[1]/@otherlevel"/>
44
- <xsl:variable name="DISP_TITEL_8">
45
- <xsl:choose>
46
- <xsl:when test="$EAD_ARCHIVAL_TYPE='verzameling'"><xsl:value-of select="'Inhoud van de verzameling'"/></xsl:when>
47
- <xsl:otherwise><xsl:value-of select="'Inhoud van het archief'"/></xsl:otherwise>
48
- </xsl:choose>
49
- </xsl:variable>
50
- <xsl:variable name="TITEL_1" select="'1. IDENTIFICATIE'"/>
51
- <xsl:variable name="TITEL_1_1" select="'1.1. Referentie(s)'"/>
52
- <xsl:variable name="TITEL_1_2" select="'1.2. Titel'"/>
53
- <xsl:variable name="TITEL_1_3" select="'1.3. Datering'"/>
54
- <xsl:variable name="TITEL_1_4" select="'1.4. Omvang en medium'"/>
55
- <xsl:variable name="TITEL_2" select="'2. CONTEXT'"/>
56
- <xsl:variable name="TITEL_2_1" select="'2.1. Naam van de archiefvormer(s)'"/>
57
- <xsl:variable name="TITEL_2_2" select="'2.2. Institutionele geschiedenis / Biografie'"/>
58
- <xsl:variable name="TITEL_2_3" select="'2.3. Geschiedenis van het archief'"/>
59
- <xsl:variable name="TITEL_2_4" select="'2.4. Verwerving'"/>
60
- <xsl:variable name="TITEL_3" select="'3. INHOUD EN STRUCTUUR'"/>
61
- <xsl:variable name="TITEL_3_1" select="'3.1. Bereik en inhoud'"/>
62
- <xsl:variable name="TITEL_3_2" select="'3.2. Selectie'"/>
63
- <xsl:variable name="TITEL_3_3" select="'3.3. Aanvullingen'"/>
64
- <xsl:variable name="TITEL_3_4" select="'3.4. Ordening'"/>
65
- <xsl:variable name="TITEL_4" select="'4. VOORWAARDEN VOOR RAADPLEGING EN GEBRUIK'"/>
66
- <xsl:variable name="TITEL_4_1" select="'4.1. Voorwaarden voor raadpleging'"/>
67
- <xsl:variable name="TITEL_4_2" select="'4.2. Voorwaarden voor reproductie'"/>
68
- <xsl:variable name="TITEL_4_3" select="'4.3. Taal en schrift'"/>
69
- <xsl:variable name="TITEL_4_4" select="'4.4. Fysieke kenmerken en technische vereisten'"/>
70
- <xsl:variable name="TITEL_4_5" select="'4.5. Toegangen'"/>
71
- <xsl:variable name="TITEL_5" select="'5. VERWANT MATERIAAL'"/>
72
- <xsl:variable name="TITEL_5_1" select="'5.1. Bestaan en bewaarplaats van originelen'"/>
73
- <xsl:variable name="TITEL_5_2" select="'5.2. Bestaan en bewaarplaats van kopie�n'"/>
74
- <xsl:variable name="TITEL_5_3" select="'5.3. Verwante beschrijvingseenheden'"/>
75
- <xsl:variable name="TITEL_5_4" select="'5.4. Publicaties'"/>
76
- <xsl:variable name="TITEL_6" select="'6. AANTEKENINGEN'"/>
77
- <xsl:variable name="TITEL_6_1" select="'6.1. Aantekening'"/>
78
- <xsl:variable name="TITEL_7" select="'7. BESCHRIJVINGSBEHEER'"/>
79
- <xsl:variable name="TITEL_7_1" select="'7.1. Verantwoording'"/>
80
- <xsl:variable name="TITEL_7_2" select="'7.2. Regels of afspraken'"/>
81
- <xsl:variable name="TITEL_7_3" select="'7.3. Datering van de beschrijvingen'"/>
82
- <xsl:variable name="TITEL_7_4" select="'7.4. Trefwoorden'"/>
83
- <xsl:variable name="TITEL_8" select="'LIJST VAN DE DOSSIERS'"/>
84
- <xsl:variable name="DISP_TITEL_OPM" select="'Opmerkingen:'"/>
85
- <xsl:variable name="DISP_TITEL_AARD" select="'Aard archief:'"/>
86
- <xsl:variable name="DISP_TITEL_GEO" select="'Geografische informatie:'"/>
87
- <xsl:variable name="DISP_TITEL_COLL" select="'Collectie periode:'"/>
88
- <xsl:variable name="DISP_TITEL_REL" select="'Gerelateerde organisaties/families/personen:'"/>
89
- <xsl:variable name="EAD_DATE" select="/ead/eadheader[1]/profiledesc[1]/creation[1]/date[1]"/>
90
- <!-- end of ead variables -->
91
- <!--attribute sets -->
92
- <xsl:variable name="Archief_pt">15pt</xsl:variable>
93
- <xsl:variable name="Deelarchief_pt">16pt</xsl:variable>
94
- <xsl:variable name="Afdeling_pt">16pt</xsl:variable>
95
- <xsl:variable name="Onderafdeling_pt">14pt</xsl:variable>
96
- <xsl:variable name="Rubriek_pt">14pt</xsl:variable>
97
- <xsl:variable name="Subrubriek_pt">12pt</xsl:variable>
98
- <xsl:variable name="Reeks_pt">12pt</xsl:variable>
99
- <xsl:variable name="ReeksMB_pt">10pt</xsl:variable>
100
- <xsl:variable name="Deelreeks_pt">12pt</xsl:variable>
101
- <xsl:variable name="DeelreeksMB_pt">10pt</xsl:variable>
102
- <xsl:variable name="Bestanddeel_pt">10pt</xsl:variable>
103
- <xsl:variable name="BestanddeelMB_pt">10pt</xsl:variable>
104
- <xsl:variable name="Subbestanddeel_pt">10pt</xsl:variable>
105
- <xsl:variable name="SubbestanddeelMB_pt">10pt</xsl:variable>
106
- <xsl:variable name="Stuk_pt">10pt</xsl:variable>
107
-
108
- <!-- end of attribute sets -->
109
- <xsl:variable name="GAP" select="'&#160;:&#160;&#160;:&#160;&#160;'"/>
110
- <xsl:variable name="CLength">
111
- <xsl:for-each select="//c/did/unitid">
112
- <xsl:sort select="string-length(.)" order="descending" data-type="number"/>
113
- <xsl:if test="position() = 1">
114
- <xsl:value-of select="string-length(.) + string-length($GAP)"/>
115
- </xsl:if>
116
- </xsl:for-each>
117
- </xsl:variable>
118
-
119
-
120
- </xsl:stylesheet>
@@ -1,488 +0,0 @@
1
- <?xml version="1.0" encoding="windows-1252"?>
2
- <xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml"
3
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
4
- xmlns:ead="urn:isbn:1-931666-22-9"
5
- xmlns:ns2="http://www.w3.org/1999/xlink">
6
- <xsl:strip-space elements="*"/>
7
- <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
8
- <xsl:template match="ead:language">
9
- <xsl:choose>
10
- <xsl:when test="@langcode = 'No_linguistic_content'">No linguistic content</xsl:when>
11
- <xsl:when test="@langcode = 'und'">Undetermined</xsl:when>
12
- <xsl:when test="@langcode = 'abk'">Abkhaz</xsl:when>
13
- <xsl:when test="@langcode = 'ace'">Achinese</xsl:when>
14
- <xsl:when test="@langcode = 'ach'">Acoli</xsl:when>
15
- <xsl:when test="@langcode = 'ada'">Adangme</xsl:when>
16
- <xsl:when test="@langcode = 'ady'">Adygei</xsl:when>
17
- <xsl:when test="@langcode = 'aar'">Afar</xsl:when>
18
- <xsl:when test="@langcode = 'afh'">Afrihili</xsl:when>
19
- <xsl:when test="@langcode = 'afr'">Afrikaans</xsl:when>
20
- <xsl:when test="@langcode = 'afa'">Afroasiatic (Other)</xsl:when>
21
- <xsl:when test="@langcode = 'aka'">Akan</xsl:when>
22
- <xsl:when test="@langcode = 'akk'">Akkadian</xsl:when>
23
- <xsl:when test="@langcode = 'alb'">Albanian</xsl:when>
24
- <xsl:when test="@langcode = 'ale'">Aleut</xsl:when>
25
- <xsl:when test="@langcode = 'alg'">Algonquian (Other)</xsl:when>
26
- <xsl:when test="@langcode = 'tut'">Altaic (Other)</xsl:when>
27
- <xsl:when test="@langcode = 'amh'">Amharic</xsl:when>
28
- <xsl:when test="@langcode = 'apa'">Apache languages</xsl:when>
29
- <xsl:when test="@langcode = 'ara'">Arabic</xsl:when>
30
- <xsl:when test="@langcode = 'arg'">Aragonese Spanish</xsl:when>
31
- <xsl:when test="@langcode = 'arc'">Aramaic</xsl:when>
32
- <xsl:when test="@langcode = 'arp'">Arapaho</xsl:when>
33
- <xsl:when test="@langcode = 'arw'">Arawak</xsl:when>
34
- <xsl:when test="@langcode = 'arm'">Armenian</xsl:when>
35
- <xsl:when test="@langcode = 'art'">Artificial (Other)</xsl:when>
36
- <xsl:when test="@langcode = 'asm'">Assamese</xsl:when>
37
- <xsl:when test="@langcode = 'ath'">Athapascan (Other)</xsl:when>
38
- <xsl:when test="@langcode = 'aus'">Australian languages</xsl:when>
39
- <xsl:when test="@langcode = 'map'">Austronesian (Other)</xsl:when>
40
- <xsl:when test="@langcode = 'ava'">Avaric</xsl:when>
41
- <xsl:when test="@langcode = 'ave'">Avestan</xsl:when>
42
- <xsl:when test="@langcode = 'awa'">Awadhi</xsl:when>
43
- <xsl:when test="@langcode = 'aym'">Aymara</xsl:when>
44
- <xsl:when test="@langcode = 'aze'">Azerbaijani</xsl:when>
45
- <xsl:when test="@langcode = 'ast'">Bable</xsl:when>
46
- <xsl:when test="@langcode = 'ban'">Balinese</xsl:when>
47
- <xsl:when test="@langcode = 'bat'">Baltic (Other)</xsl:when>
48
- <xsl:when test="@langcode = 'bal'">Baluchi</xsl:when>
49
- <xsl:when test="@langcode = 'bam'">Bambara</xsl:when>
50
- <xsl:when test="@langcode = 'bai'">Bamileke languages</xsl:when>
51
- <xsl:when test="@langcode = 'bad'">Banda</xsl:when>
52
- <xsl:when test="@langcode = 'bnt'">Bantu (Other)</xsl:when>
53
- <xsl:when test="@langcode = 'bas'">Basa</xsl:when>
54
- <xsl:when test="@langcode = 'bak'">Bashkir</xsl:when>
55
- <xsl:when test="@langcode = 'baq'">Basque</xsl:when>
56
- <xsl:when test="@langcode = 'btk'">Batak</xsl:when>
57
- <xsl:when test="@langcode = 'bej'">Beja</xsl:when>
58
- <xsl:when test="@langcode = 'bel'">Belarusian</xsl:when>
59
- <xsl:when test="@langcode = 'bem'">Bemba</xsl:when>
60
- <xsl:when test="@langcode = 'ben'">Bengali</xsl:when>
61
- <xsl:when test="@langcode = 'ber'">Berber (Other)</xsl:when>
62
- <xsl:when test="@langcode = 'bho'">Bhojpuri</xsl:when>
63
- <xsl:when test="@langcode = 'bih'">Bihari</xsl:when>
64
- <xsl:when test="@langcode = 'bik'">Bikol</xsl:when>
65
- <xsl:when test="@langcode = 'bis'">Bislama</xsl:when>
66
- <xsl:when test="@langcode = 'bos'">Bosnian</xsl:when>
67
- <xsl:when test="@langcode = 'bra'">Braj</xsl:when>
68
- <xsl:when test="@langcode = 'bre'">Breton</xsl:when>
69
- <xsl:when test="@langcode = 'bug'">Bugis</xsl:when>
70
- <xsl:when test="@langcode = 'bul'">Bulgarian</xsl:when>
71
- <xsl:when test="@langcode = 'bua'">Buriat</xsl:when>
72
- <xsl:when test="@langcode = 'bur'">Burmese</xsl:when>
73
- <xsl:when test="@langcode = 'cad'">Caddo</xsl:when>
74
- <xsl:when test="@langcode = 'car'">Carib</xsl:when>
75
- <xsl:when test="@langcode = 'cat'">Catalan</xsl:when>
76
- <xsl:when test="@langcode = 'cau'">Caucasian (Other)</xsl:when>
77
- <xsl:when test="@langcode = 'ceb'">Cebuano</xsl:when>
78
- <xsl:when test="@langcode = 'cel'">Celtic (Other)</xsl:when>
79
- <xsl:when test="@langcode = 'cai'">Central American Indian (Other)</xsl:when>
80
- <xsl:when test="@langcode = 'chg'">Chagatai</xsl:when>
81
- <xsl:when test="@langcode = 'cmc'">Chamic languages</xsl:when>
82
- <xsl:when test="@langcode = 'cha'">Chamorro</xsl:when>
83
- <xsl:when test="@langcode = 'che'">Chechen</xsl:when>
84
- <xsl:when test="@langcode = 'chr'">Cherokee</xsl:when>
85
- <xsl:when test="@langcode = 'chy'">Cheyenne</xsl:when>
86
- <xsl:when test="@langcode = 'chb'">Chibcha</xsl:when>
87
- <xsl:when test="@langcode = 'chi'">Chinese</xsl:when>
88
- <xsl:when test="@langcode = 'chn'">Chinook jargon</xsl:when>
89
- <xsl:when test="@langcode = 'chp'">Chipewyan</xsl:when>
90
- <xsl:when test="@langcode = 'cho'">Choctaw</xsl:when>
91
- <xsl:when test="@langcode = 'chu'">Church Slavic</xsl:when>
92
- <xsl:when test="@langcode = 'chv'">Chuvash</xsl:when>
93
- <xsl:when test="@langcode = 'cop'">Coptic</xsl:when>
94
- <xsl:when test="@langcode = 'cor'">Cornish</xsl:when>
95
- <xsl:when test="@langcode = 'cos'">Corsican</xsl:when>
96
- <xsl:when test="@langcode = 'cre'">Cree</xsl:when>
97
- <xsl:when test="@langcode = 'mus'">Creek</xsl:when>
98
- <xsl:when test="@langcode = 'crp'">Creoles and Pidgins(Other)</xsl:when>
99
- <xsl:when test="@langcode = 'cpe'">Creoles and Pidgins, English-based (Other)</xsl:when>
100
- <xsl:when test="@langcode = 'cpf'">Creoles and Pidgins, French-based (Other)</xsl:when>
101
- <xsl:when test="@langcode = 'cpp'">Creoles and Pidgins, Portuguese-based (Other)</xsl:when>
102
- <xsl:when test="@langcode = 'crh'">Crimean Tatar</xsl:when>
103
- <xsl:when test="@langcode = 'scr'">Croatian</xsl:when>
104
- <xsl:when test="@langcode = 'cus'">Cushitic (Other)</xsl:when>
105
- <xsl:when test="@langcode = 'cze'">Czech</xsl:when>
106
- <xsl:when test="@langcode = 'dak'">Dakota</xsl:when>
107
- <xsl:when test="@langcode = 'dan'">Danish</xsl:when>
108
- <xsl:when test="@langcode = 'dar'">Dargwa</xsl:when>
109
- <xsl:when test="@langcode = 'day'">Dayak</xsl:when>
110
- <xsl:when test="@langcode = 'del'">Delaware</xsl:when>
111
- <xsl:when test="@langcode = 'din'">Dinka</xsl:when>
112
- <xsl:when test="@langcode = 'div'">Divehi</xsl:when>
113
- <xsl:when test="@langcode = 'doi'">Dogri</xsl:when>
114
- <xsl:when test="@langcode = 'dgr'">Dogrib</xsl:when>
115
- <xsl:when test="@langcode = 'dra'">Dravidian (Other)</xsl:when>
116
- <xsl:when test="@langcode = 'dua'">Duala</xsl:when>
117
- <xsl:when test="@langcode = 'dut'">Dutch</xsl:when>
118
- <xsl:when test="@langcode = 'dum'">Dutch, Middle (ca. 1050-1350)</xsl:when>
119
- <xsl:when test="@langcode = 'dyu'">Dyula</xsl:when>
120
- <xsl:when test="@langcode = 'dzo'">Dzongkha</xsl:when>
121
- <xsl:when test="@langcode = 'bin'">Edo</xsl:when>
122
- <xsl:when test="@langcode = 'efi'">Efik</xsl:when>
123
- <xsl:when test="@langcode = 'egy'">Egyptian (Ancient)</xsl:when>
124
- <xsl:when test="@langcode = 'eka'">Ekajuk</xsl:when>
125
- <xsl:when test="@langcode = 'elx'">Elamite</xsl:when>
126
- <xsl:when test="@langcode = 'eng'">English</xsl:when>
127
- <xsl:when test="@langcode = 'enm'">English, Middle (1100-1500)</xsl:when>
128
- <xsl:when test="@langcode = 'ang'">English, Old (ca.450-1100)</xsl:when>
129
- <xsl:when test="@langcode = 'epo'">Esperanto</xsl:when>
130
- <xsl:when test="@langcode = 'est'">Estonian</xsl:when>
131
- <xsl:when test="@langcode = 'gez'">Ethiopic</xsl:when>
132
- <xsl:when test="@langcode = 'ewe'">Ewe</xsl:when>
133
- <xsl:when test="@langcode = 'ewo'">Ewondo</xsl:when>
134
- <xsl:when test="@langcode = 'fan'">Fang</xsl:when>
135
- <xsl:when test="@langcode = 'fat'">Fanti</xsl:when>
136
- <xsl:when test="@langcode = 'fao'">Faroese</xsl:when>
137
- <xsl:when test="@langcode = 'fij'">Fijian</xsl:when>
138
- <xsl:when test="@langcode = 'fin'">Finnish</xsl:when>
139
- <xsl:when test="@langcode = 'fiu'">Finno-Ugrian (Other)</xsl:when>
140
- <xsl:when test="@langcode = 'fon'">Fon</xsl:when>
141
- <xsl:when test="@langcode = 'fre'">French</xsl:when>
142
- <xsl:when test="@langcode = 'frm'">French, Middle (ca.1400-1600)</xsl:when>
143
- <xsl:when test="@langcode = 'fro'">French, Old (ca.842-1400)</xsl:when>
144
- <xsl:when test="@langcode = 'fry'">Frisian</xsl:when>
145
- <xsl:when test="@langcode = 'fur'">Friulian</xsl:when>
146
- <xsl:when test="@langcode = 'ful'">Fula</xsl:when>
147
- <xsl:when test="@langcode = 'gaa'">Gã</xsl:when>
148
- <xsl:when test="@langcode = 'glg'">Galician</xsl:when>
149
- <xsl:when test="@langcode = 'lug'">Ganda</xsl:when>
150
- <xsl:when test="@langcode = 'gay'">Gayo</xsl:when>
151
- <xsl:when test="@langcode = 'gba'">Gbaya</xsl:when>
152
- <xsl:when test="@langcode = 'geo'">Georgian</xsl:when>
153
- <xsl:when test="@langcode = 'ger'">German</xsl:when>
154
- <xsl:when test="@langcode = 'gmh'">German, Middle High (ca.1050-1500)</xsl:when>
155
- <xsl:when test="@langcode = 'goh'">German, Old High (ca.750-1050)</xsl:when>
156
- <xsl:when test="@langcode = 'gem'">Germanic (Other)</xsl:when>
157
- <xsl:when test="@langcode = 'gil'">Gilbertese</xsl:when>
158
- <xsl:when test="@langcode = 'gon'">Gondi</xsl:when>
159
- <xsl:when test="@langcode = 'gor'">Gorontalo</xsl:when>
160
- <xsl:when test="@langcode = 'got'">Gothic</xsl:when>
161
- <xsl:when test="@langcode = 'grb'">Grebo</xsl:when>
162
- <xsl:when test="@langcode = 'grc'">Greek, Ancient (to 1453)</xsl:when>
163
- <xsl:when test="@langcode = 'gre'">Greek, Modern (1453-)</xsl:when>
164
- <xsl:when test="@langcode = 'grn'">Guarani</xsl:when>
165
- <xsl:when test="@langcode = 'guj'">Gujarati</xsl:when>
166
- <xsl:when test="@langcode = 'gwi'">Gwich'in</xsl:when>
167
- <xsl:when test="@langcode = 'hai'">Haida</xsl:when>
168
- <xsl:when test="@langcode = 'hat'">Haitian French Creole</xsl:when>
169
- <xsl:when test="@langcode = 'hau'">Hausa</xsl:when>
170
- <xsl:when test="@langcode = 'haw'">Hawaiian</xsl:when>
171
- <xsl:when test="@langcode = 'heb'">Hebrew</xsl:when>
172
- <xsl:when test="@langcode = 'her'">Herero</xsl:when>
173
- <xsl:when test="@langcode = 'hil'">Hiligaynon</xsl:when>
174
- <xsl:when test="@langcode = 'him'">Himachali</xsl:when>
175
- <xsl:when test="@langcode = 'hin'">Hindi</xsl:when>
176
- <xsl:when test="@langcode = 'hmo'">Hiri Motu</xsl:when>
177
- <xsl:when test="@langcode = 'hit'">Hittite</xsl:when>
178
- <xsl:when test="@langcode = 'hmn'">Hmong</xsl:when>
179
- <xsl:when test="@langcode = 'hun'">Hungarian</xsl:when>
180
- <xsl:when test="@langcode = 'hup'">Hupa</xsl:when>
181
- <xsl:when test="@langcode = 'iba'">Iban</xsl:when>
182
- <xsl:when test="@langcode = 'ice'">Icelandic</xsl:when>
183
- <xsl:when test="@langcode = 'ido'">Ido</xsl:when>
184
- <xsl:when test="@langcode = 'ibo'">Igbo</xsl:when>
185
- <xsl:when test="@langcode = 'ijo'">Ijo</xsl:when>
186
- <xsl:when test="@langcode = 'ilo'">Iloko</xsl:when>
187
- <xsl:when test="@langcode = 'smn'">Inari Sami</xsl:when>
188
- <xsl:when test="@langcode = 'inc'">Indic (Other)</xsl:when>
189
- <xsl:when test="@langcode = 'ine'">Indo-European (Other)</xsl:when>
190
- <xsl:when test="@langcode = 'ind'">Indonesian</xsl:when>
191
- <xsl:when test="@langcode = 'inh'">Ingush</xsl:when>
192
- <xsl:when test="@langcode = 'ina'">Interlingua (International Auxiliary Language Association)</xsl:when>
193
- <xsl:when test="@langcode = 'ile'">Interlingue</xsl:when>
194
- <xsl:when test="@langcode = 'iku'">Inuktitut</xsl:when>
195
- <xsl:when test="@langcode = 'ipk'">Inupiaq</xsl:when>
196
- <xsl:when test="@langcode = 'ira'">Iranian (Other)</xsl:when>
197
- <xsl:when test="@langcode = 'gle'">Irish</xsl:when>
198
- <xsl:when test="@langcode = 'mga'">Irish, Middle (ca.1110-1550)</xsl:when>
199
- <xsl:when test="@langcode = 'sga'">Irish, Old (to 1100)</xsl:when>
200
- <xsl:when test="@langcode = 'iro'">Iroquoian (Other)</xsl:when>
201
- <xsl:when test="@langcode = 'ita'">Italian</xsl:when>
202
- <xsl:when test="@langcode = 'jpn'">Japanese</xsl:when>
203
- <xsl:when test="@langcode = 'jav'">Javanese</xsl:when>
204
- <xsl:when test="@langcode = 'jrb'">Judeo-Arabic</xsl:when>
205
- <xsl:when test="@langcode = 'jpr'">Judeo-Persian</xsl:when>
206
- <xsl:when test="@langcode = 'kbd'">Kabardian</xsl:when>
207
- <xsl:when test="@langcode = 'kab'">Kabyle</xsl:when>
208
- <xsl:when test="@langcode = 'kac'">Kachin</xsl:when>
209
- <xsl:when test="@langcode = 'kal'">Kalâtdlisut</xsl:when>
210
- <xsl:when test="@langcode = 'xal'">Kalmyk</xsl:when>
211
- <xsl:when test="@langcode = 'kam'">Kamba</xsl:when>
212
- <xsl:when test="@langcode = 'kan'">Kannada</xsl:when>
213
- <xsl:when test="@langcode = 'kau'">Kanuri</xsl:when>
214
- <xsl:when test="@langcode = 'kaa'">Kara-Kalpak</xsl:when>
215
- <xsl:when test="@langcode = 'kar'">Karen</xsl:when>
216
- <xsl:when test="@langcode = 'kas'">Kashmiri</xsl:when>
217
- <xsl:when test="@langcode = 'kaw'">Kawi</xsl:when>
218
- <xsl:when test="@langcode = 'kaz'">Kazakh</xsl:when>
219
- <xsl:when test="@langcode = 'kha'">Khasi</xsl:when>
220
- <xsl:when test="@langcode = 'khm'">Khmer</xsl:when>
221
- <xsl:when test="@langcode = 'khi'">Khoisan (Other)</xsl:when>
222
- <xsl:when test="@langcode = 'kho'">Khotanese</xsl:when>
223
- <xsl:when test="@langcode = 'kik'">Kikuyu</xsl:when>
224
- <xsl:when test="@langcode = 'kmb'">Kimbundu</xsl:when>
225
- <xsl:when test="@langcode = 'kin'">Kinyarwanda</xsl:when>
226
- <xsl:when test="@langcode = 'kom'">Komi</xsl:when>
227
- <xsl:when test="@langcode = 'kon'">Kongo</xsl:when>
228
- <xsl:when test="@langcode = 'kok'">Konkani</xsl:when>
229
- <xsl:when test="@langcode = 'kor'">Korean</xsl:when>
230
- <xsl:when test="@langcode = 'kpe'">Kpelle</xsl:when>
231
- <xsl:when test="@langcode = 'kro'">Kru (Other)</xsl:when>
232
- <xsl:when test="@langcode = 'kua'">Kuanyama</xsl:when>
233
- <xsl:when test="@langcode = 'kum'">Kumyk</xsl:when>
234
- <xsl:when test="@langcode = 'kur'">Kurdish</xsl:when>
235
- <xsl:when test="@langcode = 'kru'">Kurukh</xsl:when>
236
- <xsl:when test="@langcode = 'kos'">Kusaie</xsl:when>
237
- <xsl:when test="@langcode = 'kut'">Kutenai</xsl:when>
238
- <xsl:when test="@langcode = 'kir'">Kyrgyz</xsl:when>
239
- <xsl:when test="@langcode = 'lad'">Ladino</xsl:when>
240
- <xsl:when test="@langcode = 'lah'">Lahnda</xsl:when>
241
- <xsl:when test="@langcode = 'lam'">Lamba</xsl:when>
242
- <xsl:when test="@langcode = 'lao'">Lao</xsl:when>
243
- <xsl:when test="@langcode = 'lat'">Latin</xsl:when>
244
- <xsl:when test="@langcode = 'lav'">Latvian</xsl:when>
245
- <xsl:when test="@langcode = 'ltz'">Letzeburgesch</xsl:when>
246
- <xsl:when test="@langcode = 'lez'">Lezgian</xsl:when>
247
- <xsl:when test="@langcode = 'lim'">Limburgish</xsl:when>
248
- <xsl:when test="@langcode = 'lin'">Lingala</xsl:when>
249
- <xsl:when test="@langcode = 'lit'">Lithuanian</xsl:when>
250
- <xsl:when test="@langcode = 'nds'">Low German</xsl:when>
251
- <xsl:when test="@langcode = 'loz'">Lozi</xsl:when>
252
- <xsl:when test="@langcode = 'lub'">Luba-Katanga</xsl:when>
253
- <xsl:when test="@langcode = 'lua'">Luba-Lulua</xsl:when>
254
- <xsl:when test="@langcode = 'lui'">Luiseño</xsl:when>
255
- <xsl:when test="@langcode = 'smj'">Lule Sami</xsl:when>
256
- <xsl:when test="@langcode = 'lun'">Lunda</xsl:when>
257
- <xsl:when test="@langcode = 'luo'">Luo (Kenya and Tanzania)</xsl:when>
258
- <xsl:when test="@langcode = 'lus'">Lushai</xsl:when>
259
- <xsl:when test="@langcode = 'mac'">Macedonian</xsl:when>
260
- <xsl:when test="@langcode = 'mad'">Madurese</xsl:when>
261
- <xsl:when test="@langcode = 'mag'">Magahi</xsl:when>
262
- <xsl:when test="@langcode = 'mai'">Maithili</xsl:when>
263
- <xsl:when test="@langcode = 'mak'">Makasar</xsl:when>
264
- <xsl:when test="@langcode = 'mlg'">Malagasy</xsl:when>
265
- <xsl:when test="@langcode = 'may'">Malay</xsl:when>
266
- <xsl:when test="@langcode = 'mal'">Malayalam</xsl:when>
267
- <xsl:when test="@langcode = 'mlt'">Maltese</xsl:when>
268
- <xsl:when test="@langcode = 'mnc'">Manchu</xsl:when>
269
- <xsl:when test="@langcode = 'mdr'">Mandar</xsl:when>
270
- <xsl:when test="@langcode = 'man'">Mandingo</xsl:when>
271
- <xsl:when test="@langcode = 'mni'">Manipuri</xsl:when>
272
- <xsl:when test="@langcode = 'mno'">Manobo languages</xsl:when>
273
- <xsl:when test="@langcode = 'glv'">Manx</xsl:when>
274
- <xsl:when test="@langcode = 'mao'">Maori</xsl:when>
275
- <xsl:when test="@langcode = 'arn'">Mapuche</xsl:when>
276
- <xsl:when test="@langcode = 'mar'">Marathi</xsl:when>
277
- <xsl:when test="@langcode = 'chm'">Mari</xsl:when>
278
- <xsl:when test="@langcode = 'mah'">Marshallese</xsl:when>
279
- <xsl:when test="@langcode = 'mwr'">Marwari</xsl:when>
280
- <xsl:when test="@langcode = 'mas'">Masai</xsl:when>
281
- <xsl:when test="@langcode = 'myn'">Mayan languages</xsl:when>
282
- <xsl:when test="@langcode = 'men'">Mende</xsl:when>
283
- <xsl:when test="@langcode = 'mic'">Micmac</xsl:when>
284
- <xsl:when test="@langcode = 'min'">Minangkabau</xsl:when>
285
- <xsl:when test="@langcode = 'mis'">Miscellaneous languages</xsl:when>
286
- <xsl:when test="@langcode = 'moh'">Mohawk</xsl:when>
287
- <xsl:when test="@langcode = 'mol'">Moldavian</xsl:when>
288
- <xsl:when test="@langcode = 'mkh'">Mon-Khmer (Other)</xsl:when>
289
- <xsl:when test="@langcode = 'lol'">Mongo-Nkundu</xsl:when>
290
- <xsl:when test="@langcode = 'mon'">Mongolian</xsl:when>
291
- <xsl:when test="@langcode = 'mos'">Mooré</xsl:when>
292
- <xsl:when test="@langcode = 'mul'">Multiple languages</xsl:when>
293
- <xsl:when test="@langcode = 'mun'">Munda (Other)</xsl:when>
294
- <xsl:when test="@langcode = 'nah'">Nahuatl</xsl:when>
295
- <xsl:when test="@langcode = 'nau'">Nauru</xsl:when>
296
- <xsl:when test="@langcode = 'nav'">Navajo</xsl:when>
297
- <xsl:when test="@langcode = 'nbl'">Ndebele (South Africa)</xsl:when>
298
- <xsl:when test="@langcode = 'nde'">Ndebele (Zimbabwe)</xsl:when>
299
- <xsl:when test="@langcode = 'ndo'">Ndonga</xsl:when>
300
- <xsl:when test="@langcode = 'nap'">Neapolitan Italian</xsl:when>
301
- <xsl:when test="@langcode = 'nep'">Nepali</xsl:when>
302
- <xsl:when test="@langcode = 'new'">Newari</xsl:when>
303
- <xsl:when test="@langcode = 'nia'">Nias</xsl:when>
304
- <xsl:when test="@langcode = 'nic'">Niger-Kordofanian (Other)</xsl:when>
305
- <xsl:when test="@langcode = 'ssa'">Nilo-Saharan (Other)</xsl:when>
306
- <xsl:when test="@langcode = 'niu'">Niuean</xsl:when>
307
- <xsl:when test="@langcode = 'nog'">Nogai</xsl:when>
308
- <xsl:when test="@langcode = 'nai'">North American Indian (Other)</xsl:when>
309
- <xsl:when test="@langcode = 'sme'">Northern Sami</xsl:when>
310
- <xsl:when test="@langcode = 'nso'">Northern Sotho</xsl:when>
311
- <xsl:when test="@langcode = 'nor'">Norwegian</xsl:when>
312
- <xsl:when test="@langcode = 'nob'">Norwegian Bokmål</xsl:when>
313
- <xsl:when test="@langcode = 'nno'">Norwegian Nynorsk</xsl:when>
314
- <xsl:when test="@langcode = 'nub'">Nubian languages</xsl:when>
315
- <xsl:when test="@langcode = 'nym'">Nyamwezi</xsl:when>
316
- <xsl:when test="@langcode = 'nya'">Nyanja</xsl:when>
317
- <xsl:when test="@langcode = 'nyn'">Nyankole</xsl:when>
318
- <xsl:when test="@langcode = 'nyo'">Nyoro</xsl:when>
319
- <xsl:when test="@langcode = 'nzi'">Nzima</xsl:when>
320
- <xsl:when test="@langcode = 'oci'">Occitan (post-1500)</xsl:when>
321
- <xsl:when test="@langcode = 'oji'">Ojibwa</xsl:when>
322
- <xsl:when test="@langcode = 'non'">Old Norse</xsl:when>
323
- <xsl:when test="@langcode = 'peo'">Old Persian (ca.600-400 B.C.)</xsl:when>
324
- <xsl:when test="@langcode = 'ori'">Oriya</xsl:when>
325
- <xsl:when test="@langcode = 'orm'">Oromo</xsl:when>
326
- <xsl:when test="@langcode = 'osa'">Osage</xsl:when>
327
- <xsl:when test="@langcode = 'oss'">Ossetic</xsl:when>
328
- <xsl:when test="@langcode = 'oto'">Otomian languages</xsl:when>
329
- <xsl:when test="@langcode = 'pal'">Pahlavi</xsl:when>
330
- <xsl:when test="@langcode = 'pau'">Palauan</xsl:when>
331
- <xsl:when test="@langcode = 'pli'">Pali</xsl:when>
332
- <xsl:when test="@langcode = 'pam'">Pampanga</xsl:when>
333
- <xsl:when test="@langcode = 'pag'">Pangasinan</xsl:when>
334
- <xsl:when test="@langcode = 'pan'">Panjabi</xsl:when>
335
- <xsl:when test="@langcode = 'pap'">Papiamento</xsl:when>
336
- <xsl:when test="@langcode = 'paa'">Papuan (Other)</xsl:when>
337
- <xsl:when test="@langcode = 'per'">Persian</xsl:when>
338
- <xsl:when test="@langcode = 'phi'">Philippine (Other)</xsl:when>
339
- <xsl:when test="@langcode = 'phn'">Phoenician</xsl:when>
340
- <xsl:when test="@langcode = 'pol'">Polish</xsl:when>
341
- <xsl:when test="@langcode = 'pon'">Ponape</xsl:when>
342
- <xsl:when test="@langcode = 'por'">Portuguese</xsl:when>
343
- <xsl:when test="@langcode = 'pra'">Prakrit languages</xsl:when>
344
- <xsl:when test="@langcode = 'pro'">Provençal (to 1500)</xsl:when>
345
- <xsl:when test="@langcode = 'pus'">Pushto</xsl:when>
346
- <xsl:when test="@langcode = 'que'">Quechua</xsl:when>
347
- <xsl:when test="@langcode = 'roh'">Raeto-Romance</xsl:when>
348
- <xsl:when test="@langcode = 'raj'">Rajasthani</xsl:when>
349
- <xsl:when test="@langcode = 'rap'">Rapanui</xsl:when>
350
- <xsl:when test="@langcode = 'rar'">Rarotongan</xsl:when>
351
- <xsl:when test="@langcode = 'qaa-qtz'">Reserved for local user</xsl:when>
352
- <xsl:when test="@langcode = 'roa'">Romance (Other)</xsl:when>
353
- <xsl:when test="@langcode = 'rom'">Romani</xsl:when>
354
- <xsl:when test="@langcode = 'rum'">Romanian</xsl:when>
355
- <xsl:when test="@langcode = 'run'">Rundi</xsl:when>
356
- <xsl:when test="@langcode = 'rus'">Russian</xsl:when>
357
- <xsl:when test="@langcode = 'sal'">Salishan languages</xsl:when>
358
- <xsl:when test="@langcode = 'sam'">Samaritan Aramaic</xsl:when>
359
- <xsl:when test="@langcode = 'smi'">Sami</xsl:when>
360
- <xsl:when test="@langcode = 'smo'">Samoan</xsl:when>
361
- <xsl:when test="@langcode = 'sad'">Sandawe</xsl:when>
362
- <xsl:when test="@langcode = 'sag'">Sango (Ubangi Creole)</xsl:when>
363
- <xsl:when test="@langcode = 'san'">Sanskrit</xsl:when>
364
- <xsl:when test="@langcode = 'sat'">Santali</xsl:when>
365
- <xsl:when test="@langcode = 'srd'">Sardinian</xsl:when>
366
- <xsl:when test="@langcode = 'sas'">Sasak</xsl:when>
367
- <xsl:when test="@langcode = 'sco'">Scots</xsl:when>
368
- <xsl:when test="@langcode = 'gla'">Scottish Gaelic</xsl:when>
369
- <xsl:when test="@langcode = 'sel'">Selkup</xsl:when>
370
- <xsl:when test="@langcode = 'sem'">Semitic (Other)</xsl:when>
371
- <xsl:when test="@langcode = 'scc'">Serbian</xsl:when>
372
- <xsl:when test="@langcode = 'srr'">Serer</xsl:when>
373
- <xsl:when test="@langcode = 'shn'">Shan</xsl:when>
374
- <xsl:when test="@langcode = 'sna'">Shona</xsl:when>
375
- <xsl:when test="@langcode = 'iii'">Sichuan Yi</xsl:when>
376
- <xsl:when test="@langcode = 'sid'">Sidamo</xsl:when>
377
- <xsl:when test="@langcode = 'sgn'">Sign languages</xsl:when>
378
- <xsl:when test="@langcode = 'bla'">Siksika</xsl:when>
379
- <xsl:when test="@langcode = 'snd'">Sindhi</xsl:when>
380
- <xsl:when test="@langcode = 'sin'">Sinhalese</xsl:when>
381
- <xsl:when test="@langcode = 'sit'">Sino-Tibetan (Other)</xsl:when>
382
- <xsl:when test="@langcode = 'sio'">Siouan (Other)</xsl:when>
383
- <xsl:when test="@langcode = 'sms'">Skolt Sami</xsl:when>
384
- <xsl:when test="@langcode = 'den'">Slave</xsl:when>
385
- <xsl:when test="@langcode = 'sla'">Slavic (Other)</xsl:when>
386
- <xsl:when test="@langcode = 'slo'">Slovak</xsl:when>
387
- <xsl:when test="@langcode = 'slv'">Slovenian</xsl:when>
388
- <xsl:when test="@langcode = 'sog'">Sogdian</xsl:when>
389
- <xsl:when test="@langcode = 'som'">Somali</xsl:when>
390
- <xsl:when test="@langcode = 'son'">Songhai</xsl:when>
391
- <xsl:when test="@langcode = 'snk'">Soninke</xsl:when>
392
- <xsl:when test="@langcode = 'wen'">Sorbian languages</xsl:when>
393
- <xsl:when test="@langcode = 'sot'">Sotho</xsl:when>
394
- <xsl:when test="@langcode = 'sai'">South American Indian (Other)</xsl:when>
395
- <xsl:when test="@langcode = 'sma'">Southern Sami</xsl:when>
396
- <xsl:when test="@langcode = 'spa'">Spanish</xsl:when>
397
- <xsl:when test="@langcode = 'suk'">Sukuma</xsl:when>
398
- <xsl:when test="@langcode = 'sux'">Sumerian</xsl:when>
399
- <xsl:when test="@langcode = 'sun'">Sundanese</xsl:when>
400
- <xsl:when test="@langcode = 'sus'">Susu</xsl:when>
401
- <xsl:when test="@langcode = 'swa'">Swahili</xsl:when>
402
- <xsl:when test="@langcode = 'ssw'">Swazi</xsl:when>
403
- <xsl:when test="@langcode = 'swe'">Swedish</xsl:when>
404
- <xsl:when test="@langcode = 'syr'">Syriac</xsl:when>
405
- <xsl:when test="@langcode = 'tgl'">Tagalog</xsl:when>
406
- <xsl:when test="@langcode = 'tah'">Tahitian</xsl:when>
407
- <xsl:when test="@langcode = 'tai'">Tai (Other)</xsl:when>
408
- <xsl:when test="@langcode = 'tgk'">Tajik</xsl:when>
409
- <xsl:when test="@langcode = 'tmh'">Tamashek</xsl:when>
410
- <xsl:when test="@langcode = 'tam'">Tamil</xsl:when>
411
- <xsl:when test="@langcode = 'tat'">Tatar</xsl:when>
412
- <xsl:when test="@langcode = 'tel'">Telugu</xsl:when>
413
- <xsl:when test="@langcode = 'tem'">Temne</xsl:when>
414
- <xsl:when test="@langcode = 'ter'">Terena</xsl:when>
415
- <xsl:when test="@langcode = 'tet'">Tetum</xsl:when>
416
- <xsl:when test="@langcode = 'tha'">Thai</xsl:when>
417
- <xsl:when test="@langcode = 'tib'">Tibetan</xsl:when>
418
- <xsl:when test="@langcode = 'tig'">Tigré</xsl:when>
419
- <xsl:when test="@langcode = 'tir'">Tigrinya</xsl:when>
420
- <xsl:when test="@langcode = 'tiv'">Tiv</xsl:when>
421
- <xsl:when test="@langcode = 'tli'">Tlingit</xsl:when>
422
- <xsl:when test="@langcode = 'tpi'">Tok Pisin</xsl:when>
423
- <xsl:when test="@langcode = 'tkl'">Tokelauan</xsl:when>
424
- <xsl:when test="@langcode = 'tog'">Tonga (Nyasa)</xsl:when>
425
- <xsl:when test="@langcode = 'ton'">Tongan</xsl:when>
426
- <xsl:when test="@langcode = 'chk'">Truk</xsl:when>
427
- <xsl:when test="@langcode = 'tsi'">Tsimshian</xsl:when>
428
- <xsl:when test="@langcode = 'tso'">Tsonga</xsl:when>
429
- <xsl:when test="@langcode = 'tsn'">Tswana</xsl:when>
430
- <xsl:when test="@langcode = 'tum'">Tumbuka</xsl:when>
431
- <xsl:when test="@langcode = 'tup'">Tupi languages</xsl:when>
432
- <xsl:when test="@langcode = 'tur'">Turkish</xsl:when>
433
- <xsl:when test="@langcode = 'ota'">Turkish, Ottoman</xsl:when>
434
- <xsl:when test="@langcode = 'tuk'">Turkmen</xsl:when>
435
- <xsl:when test="@langcode = 'tvl'">Tuvaluan</xsl:when>
436
- <xsl:when test="@langcode = 'tyv'">Tuvinian</xsl:when>
437
- <xsl:when test="@langcode = 'twi'">Twi</xsl:when>
438
- <xsl:when test="@langcode = 'udm'">Udmurt</xsl:when>
439
- <xsl:when test="@langcode = 'uga'">Ugaritic</xsl:when>
440
- <xsl:when test="@langcode = 'uig'">Uighur</xsl:when>
441
- <xsl:when test="@langcode = 'ukr'">Ukrainian</xsl:when>
442
- <xsl:when test="@langcode = 'umb'">Umbundu</xsl:when>
443
- <xsl:when test="@langcode = 'und'">Undetermined</xsl:when>
444
- <xsl:when test="@langcode = 'urd'">Urdu</xsl:when>
445
- <xsl:when test="@langcode = 'uzb'">Uzbek</xsl:when>
446
- <xsl:when test="@langcode = 'vai'">Vai</xsl:when>
447
- <xsl:when test="@langcode = 'ven'">Venda</xsl:when>
448
- <xsl:when test="@langcode = 'vie'">Vietnamese</xsl:when>
449
- <xsl:when test="@langcode = 'vol'">Volapük</xsl:when>
450
- <xsl:when test="@langcode = 'vot'">Votic</xsl:when>
451
- <xsl:when test="@langcode = 'wak'">Wakashan languages</xsl:when>
452
- <xsl:when test="@langcode = 'wal'">Walamo</xsl:when>
453
- <xsl:when test="@langcode = 'wln'">Walloon</xsl:when>
454
- <xsl:when test="@langcode = 'war'">Waray</xsl:when>
455
- <xsl:when test="@langcode = 'was'">Washo</xsl:when>
456
- <xsl:when test="@langcode = 'wel'">Welsh</xsl:when>
457
- <xsl:when test="@langcode = 'wol'">Wolof</xsl:when>
458
- <xsl:when test="@langcode = 'xho'">Xhosa</xsl:when>
459
- <xsl:when test="@langcode = 'sah'">Yakut</xsl:when>
460
- <xsl:when test="@langcode = 'yao'">Yao (Africa)</xsl:when>
461
- <xsl:when test="@langcode = 'yap'">Yapese</xsl:when>
462
- <xsl:when test="@langcode = 'yid'">Yiddish</xsl:when>
463
- <xsl:when test="@langcode = 'yor'">Yoruba</xsl:when>
464
- <xsl:when test="@langcode = 'ypk'">Yupik languages</xsl:when>
465
- <xsl:when test="@langcode = 'znd'">Zande</xsl:when>
466
- <xsl:when test="@langcode = 'zap'">Zapotec</xsl:when>
467
- <xsl:when test="@langcode = 'zen'">Zenaga</xsl:when>
468
- <xsl:when test="@langcode = 'zha'">Zhuang</xsl:when>
469
- <xsl:when test="@langcode = 'zul'">Zulu</xsl:when>
470
- <xsl:when test="@langcode = 'zun'">Zuni</xsl:when>
471
- </xsl:choose>
472
- </xsl:template>
473
- <xsl:template name="subjectSource">
474
- <xsl:choose>
475
- <xsl:when test="@source = 'aat'"> [Source: Art &amp; Architecture Thesaurus]</xsl:when>
476
- <xsl:when test="@source = 'dot'"> [Source:Dictionary of Occupational Titles]</xsl:when>
477
- <xsl:when test="@source = 'rbgenr'"> [Source:Genre Terms: A Thesaurus for Use in Rare Book and Special Collections Cataloging]</xsl:when>
478
- <xsl:when test="@source = 'georeft'"> [Source:GeoRef Thesaurus]</xsl:when>
479
- <xsl:when test="@source = 'tgn'"> [Source:Getty Thesaurus of Geographic Names]</xsl:when>
480
- <xsl:when test="@source = 'lcsh'"> [Source:Library of Congress Subject Headings]</xsl:when>
481
- <xsl:when test="@source = 'local'"> [Source:Local sources]</xsl:when>
482
- <xsl:when test="@source = 'mesh'"> [Source:Medical Subject Headings]</xsl:when>
483
- <xsl:when test="@source = 'gmgpc'"> [Source:Thesaurus for Graphic Materials]</xsl:when>
484
- <xsl:when test="@source = 'ingest'"/>
485
- <xsl:otherwise> [Source:<xsl:value-of select="@source"/>]</xsl:otherwise>
486
- </xsl:choose>
487
- </xsl:template>
488
- </xsl:stylesheet>