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.
- checksums.yaml +5 -5
- data/.gitignore +5 -1
- data/.travis.yml +43 -25
- data/README.md +2 -2
- data/base/Dockerfile +35 -0
- data/base/Dockerfile.alpine +20 -0
- data/base/Dockerfile.rvm +56 -0
- data/base/rework_path +20 -0
- data/docker_cfg.yml +1 -0
- data/lib/libis/format.rb +12 -3
- data/lib/libis/format/cli/convert.rb +4 -4
- data/lib/libis/format/config.rb +15 -10
- data/lib/libis/format/converter/audio_converter.rb +3 -37
- data/lib/libis/format/converter/base.rb +22 -8
- data/lib/libis/format/converter/chain.rb +3 -3
- data/lib/libis/format/converter/image_assembler.rb +82 -0
- data/lib/libis/format/converter/image_converter.rb +20 -138
- data/lib/libis/format/converter/image_splitter.rb +84 -0
- data/lib/libis/format/converter/image_watermarker.rb +261 -0
- data/lib/libis/format/converter/jp2_converter.rb +2 -2
- data/lib/libis/format/converter/office_converter.rb +2 -2
- data/lib/libis/format/converter/pdf_assembler.rb +66 -0
- data/lib/libis/format/converter/pdf_converter.rb +10 -134
- data/lib/libis/format/converter/pdf_metadata.rb +82 -0
- data/lib/libis/format/converter/pdf_optimizer.rb +67 -0
- data/lib/libis/format/converter/pdf_protecter.rb +147 -0
- data/lib/libis/format/converter/pdf_selecter.rb +83 -0
- data/lib/libis/format/converter/pdf_splitter.rb +70 -0
- data/lib/libis/format/converter/pdf_watermarker_header.rb +71 -0
- data/lib/libis/format/converter/pdf_watermarker_image.rb +76 -0
- data/lib/libis/format/converter/pdf_watermarker_text.rb +93 -0
- data/lib/libis/format/converter/spreadsheet_converter.rb +2 -2
- data/lib/libis/format/converter/video_converter.rb +1 -1
- data/lib/libis/format/identifier.rb +3 -3
- data/lib/libis/format/info.rb +27 -0
- data/lib/libis/format/library.rb +147 -0
- data/lib/libis/format/tool.rb +4 -1
- data/lib/libis/format/tool/droid.rb +2 -2
- data/lib/libis/format/tool/extension_identification.rb +4 -4
- data/lib/libis/format/tool/ffmpeg.rb +1 -1
- data/lib/libis/format/tool/fido.rb +1 -1
- data/lib/libis/format/tool/fop_pdf.rb +1 -1
- data/lib/libis/format/tool/identification_tool.rb +6 -6
- data/lib/libis/format/tool/office_to_pdf.rb +1 -1
- data/lib/libis/format/tool/pdf_merge.rb +4 -4
- data/lib/libis/format/tool/{pdf_copy.rb → pdf_metadata.rb} +6 -6
- data/lib/libis/format/tool/pdf_protect.rb +47 -0
- data/lib/libis/format/tool/pdf_select.rb +47 -0
- data/lib/libis/format/tool/pdf_split.rb +5 -5
- data/lib/libis/format/tool/pdf_to_pdfa.rb +1 -2
- data/lib/libis/format/tool/pdf_watermark.rb +47 -0
- data/lib/libis/format/tool/pdfa_validator.rb +3 -4
- data/lib/libis/format/tool/spreadsheet_to_ods.rb +2 -1
- data/lib/libis/format/version.rb +1 -1
- data/lib/libis/format/yaml_loader.rb +71 -0
- data/libis-format.gemspec +5 -4
- data/tools/PdfTool.jar +0 -0
- data/tools/bcpkix-jdk15on-167.jar +0 -0
- data/tools/bcprov-jdk15on-167.jar +0 -0
- data/tools/fop/build/fop.jar +0 -0
- data/tools/fop/conf/fop.xconf +466 -0
- data/tools/fop/fop +258 -0
- data/tools/fop/fop.bat +75 -0
- data/tools/fop/fop.cmd +31 -0
- data/tools/fop/fop.js +341 -0
- data/tools/fop/lib/README.txt +243 -0
- data/tools/fop/lib/avalon-framework-api-4.3.1.jar +0 -0
- data/tools/fop/lib/avalon-framework-impl-4.3.1.jar +0 -0
- data/tools/fop/lib/avalon-framework.LICENSE.txt +175 -0
- data/tools/fop/lib/avalon-framework.NOTICE.TXT +11 -0
- data/tools/fop/lib/batik-all-1.10.jar +0 -0
- data/tools/fop/lib/batik.LICENSE.txt +201 -0
- data/tools/fop/lib/batik.NOTICE.txt +18 -0
- data/tools/fop/lib/commons-io-1.3.1.jar +0 -0
- data/tools/fop/lib/commons-io.LICENSE.txt +203 -0
- data/tools/fop/lib/commons-io.NOTICE.txt +6 -0
- data/tools/fop/lib/commons-logging-1.0.4.jar +0 -0
- data/tools/fop/lib/commons-logging.LICENSE.txt +202 -0
- data/tools/fop/lib/commons-logging.NOTICE.txt +3 -0
- data/tools/fop/lib/fontbox-2.0.7.jar +0 -0
- data/tools/fop/lib/serializer-2.7.2.jar +0 -0
- data/tools/fop/lib/serializer.LICENSE.txt +201 -0
- data/tools/fop/lib/serializer.NOTICE.txt +15 -0
- data/tools/fop/lib/xalan-2.7.2.jar +0 -0
- data/tools/fop/lib/xalan.BCEL.LICENSE.txt +52 -0
- data/tools/fop/lib/xalan.LICENSE.txt +202 -0
- data/tools/fop/lib/xalan.NOTICE.txt +44 -0
- data/tools/fop/lib/xalan.regexp.LICENSE.txt +52 -0
- data/tools/fop/lib/xalan.runtime.LICENSE.txt +20 -0
- data/tools/fop/lib/xerces.LICENSE.txt +56 -0
- data/tools/fop/lib/xercesImpl-2.9.1.jar +0 -0
- data/tools/fop/lib/xercesImpl.LICENSE.txt +201 -0
- data/tools/fop/lib/xercesImpl.NOTICE.txt +14 -0
- data/tools/fop/lib/xml-apis-1.3.04.jar +0 -0
- data/tools/fop/lib/xml-apis-ext-1.3.04.jar +0 -0
- data/tools/fop/lib/xml-apis-ext.LICENSE.dom-documentation.txt +73 -0
- data/tools/fop/lib/xml-apis-ext.LICENSE.dom-software.txt +61 -0
- data/tools/fop/lib/xml-apis-ext.LICENSE.sac.html +75 -0
- data/tools/fop/lib/xml-apis-ext.LICENSE.txt +202 -0
- data/tools/fop/lib/xml-apis-ext.NOTICE.txt +16 -0
- data/tools/fop/lib/xml-apis-ext.README.dom.txt +56 -0
- data/tools/fop/lib/xml-apis.LICENSE-SAX.html +17 -0
- data/tools/fop/lib/xml-apis.LICENSE.DOM-documentation.html +74 -0
- data/tools/fop/lib/xml-apis.LICENSE.DOM-software.html +66 -0
- data/tools/fop/lib/xml-apis.LICENSE.txt +201 -0
- data/tools/fop/lib/xml-apis.NOTICE.txt +13 -0
- data/tools/fop/lib/xmlgraphics-commons-2.3.jar +0 -0
- data/tools/fop/lib/xmlgraphics-commons.LICENSE.txt +202 -0
- data/tools/fop/lib/xmlgraphics-commons.NOTICE.txt +5 -0
- data/tools/pdfbox/pdfbox-app-2.0.13.jar +0 -0
- data/tools/pdfbox/{pdfbox-app-1.8.10.jar → preflight-app-2.0.13.jar} +0 -0
- metadata +86 -246
- data/lib/libis/format/type_database.rb +0 -134
- data/lib/libis/format/type_database_impl.rb +0 -120
- data/spec/converter_audio_spec.rb +0 -66
- data/spec/converter_fop_spec.rb +0 -37
- data/spec/converter_image_spec.rb +0 -166
- data/spec/converter_office_spec.rb +0 -84
- data/spec/converter_pdf_spec.rb +0 -30
- data/spec/converter_repository_spec.rb +0 -97
- data/spec/converter_spreadsheet_spec.rb +0 -39
- data/spec/converter_video_spec.rb +0 -97
- data/spec/converter_xsl_spec.rb +0 -56
- data/spec/data/Cevennes2.bmp +0 -0
- data/spec/data/Cevennes2.jp2 +0 -0
- data/spec/data/Cevennes2.ppm +0 -22492
- data/spec/data/NikonRaw-CameraRaw.TIF +0 -0
- data/spec/data/NikonRaw-CaptureOne.tif +0 -0
- data/spec/data/audio/carlin_disappointed.aac +0 -0
- data/spec/data/audio/carlin_disappointed.ac3 +0 -0
- data/spec/data/audio/carlin_disappointed.aiff +0 -0
- data/spec/data/audio/carlin_disappointed.au +0 -0
- data/spec/data/audio/carlin_disappointed.flac +0 -0
- data/spec/data/audio/carlin_disappointed.m4a +0 -0
- data/spec/data/audio/carlin_disappointed.mka +0 -0
- data/spec/data/audio/carlin_disappointed.mp3 +0 -0
- data/spec/data/audio/carlin_disappointed.ogg +0 -0
- data/spec/data/audio/carlin_disappointed.ra +0 -0
- data/spec/data/audio/carlin_disappointed.voc +0 -0
- data/spec/data/audio/carlin_disappointed.wav +0 -0
- data/spec/data/audio/carlin_disappointed.wma +0 -0
- data/spec/data/audio/greensleeves.aac +0 -0
- data/spec/data/audio/greensleeves.ac3 +0 -0
- data/spec/data/audio/greensleeves.aiff +0 -0
- data/spec/data/audio/greensleeves.au +0 -0
- data/spec/data/audio/greensleeves.flac +0 -0
- data/spec/data/audio/greensleeves.m4a +0 -0
- data/spec/data/audio/greensleeves.mka +0 -0
- data/spec/data/audio/greensleeves.mp3 +0 -0
- data/spec/data/audio/greensleeves.ogg +0 -0
- data/spec/data/audio/greensleeves.ra +0 -0
- data/spec/data/audio/greensleeves.voc +0 -0
- data/spec/data/audio/greensleeves.wav +0 -0
- data/spec/data/audio/greensleeves.wma +0 -0
- data/spec/data/audio/king_nonviolence.aac +0 -0
- data/spec/data/audio/king_nonviolence.ac3 +0 -0
- data/spec/data/audio/king_nonviolence.aiff +0 -0
- data/spec/data/audio/king_nonviolence.au +0 -0
- data/spec/data/audio/king_nonviolence.flac +0 -0
- data/spec/data/audio/king_nonviolence.m4a +0 -0
- data/spec/data/audio/king_nonviolence.mka +0 -0
- data/spec/data/audio/king_nonviolence.mp3 +0 -0
- data/spec/data/audio/king_nonviolence.ogg +0 -0
- data/spec/data/audio/king_nonviolence.ra +0 -0
- data/spec/data/audio/king_nonviolence.voc +0 -0
- data/spec/data/audio/king_nonviolence.wav +0 -0
- data/spec/data/audio/king_nonviolence.wma +0 -0
- data/spec/data/audio/top_gun_secret.aac +0 -0
- data/spec/data/audio/top_gun_secret.ac3 +0 -0
- data/spec/data/audio/top_gun_secret.aiff +0 -0
- data/spec/data/audio/top_gun_secret.au +0 -0
- data/spec/data/audio/top_gun_secret.flac +0 -0
- data/spec/data/audio/top_gun_secret.m4a +0 -0
- data/spec/data/audio/top_gun_secret.mka +0 -0
- data/spec/data/audio/top_gun_secret.mp3 +0 -0
- data/spec/data/audio/top_gun_secret.ogg +0 -0
- data/spec/data/audio/top_gun_secret.ra +0 -0
- data/spec/data/audio/top_gun_secret.voc +0 -0
- data/spec/data/audio/top_gun_secret.wav +0 -0
- data/spec/data/audio/top_gun_secret.wma +0 -0
- data/spec/data/multipage.tif +0 -0
- data/spec/data/multipage.tif.jp2 +0 -0
- data/spec/data/test-ead.xml +0 -392
- data/spec/data/test-jpg.tif +0 -0
- data/spec/data/test-lzw.tif +0 -0
- data/spec/data/test-options.jpg +0 -0
- data/spec/data/test-options.png +0 -0
- data/spec/data/test.bmp +0 -0
- data/spec/data/test.doc +0 -0
- data/spec/data/test.docx +0 -0
- data/spec/data/test.gif +0 -0
- data/spec/data/test.jpg +0 -0
- data/spec/data/test.ods +0 -0
- data/spec/data/test.odt +0 -0
- data/spec/data/test.pdf +0 -0
- data/spec/data/test.pdf.tif +0 -0
- data/spec/data/test.png +0 -0
- data/spec/data/test.ps +0 -8631
- data/spec/data/test.psd +0 -0
- data/spec/data/test.rtf +0 -1455
- data/spec/data/test.tif +0 -0
- data/spec/data/test.txt +0 -12
- data/spec/data/test.xcf +0 -0
- data/spec/data/test.xls +0 -0
- data/spec/data/test.xlsx +0 -0
- data/spec/data/test.xml +0 -4
- data/spec/data/test_pdfa.pdf +0 -0
- data/spec/data/video/SampleVideo_1080x720_2mb.flv +0 -0
- data/spec/data/video/SampleVideo_1080x720_2mb.mkv +0 -0
- data/spec/data/video/SampleVideo_1080x720_2mb.mp4 +0 -0
- data/spec/data/video/SampleVideo_176x144_2mb.3gp +0 -0
- data/spec/data/video/SampleVideo_320x240_2mb.3gp +0 -0
- data/spec/data/video/SampleVideo_360x240_2mb.flv +0 -0
- data/spec/data/video/SampleVideo_360x240_2mb.mkv +0 -0
- data/spec/data/video/SampleVideo_360x240_2mb.mp4 +0 -0
- data/spec/data/video/copyright.png +0 -0
- data/spec/data/xml/134476_ead.XML +0 -1
- data/spec/data/xml/134476_ead.pdf +0 -0
- data/spec/data/xml/134476_fo.XML +0 -383
- data/spec/data/xml/134476_raw.XML +0 -141
- data/spec/data/xml/ead2fo_pdf.xsl +0 -1453
- data/spec/data/xml/header_nolink_pdf.xsl +0 -120
- data/spec/data/xml/lookupLists.xsl +0 -488
- data/spec/data/xml/scope_eadToHTML.xsl +0 -2376
- data/spec/data/xml/scope_xmlToEAD_dom.xsl +0 -952
- data/spec/identifier_spec.rb +0 -161
- data/spec/spec_helper.rb +0 -58
- data/spec/test_types.yml +0 -12
- data/spec/type_database_spec.rb +0 -140
- data/tools/bcpkix-jdk15on-1.49.jar +0 -0
- data/tools/bcprov-jdk15on-1.49.jar +0 -0
- data/tools/pdfbox/preflight-app-1.8.10.jar +0 -0
@@ -1,2376 +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="2.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 indent="yes" method="html" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="UTF-8"/>
|
8
|
-
<xsl:include href="lookupLists.xsl"/>
|
9
|
-
<!--<xsl:include href="header.xsl"/>-->
|
10
|
-
<xsl:include href="header_nolink_pdf.xsl"/>
|
11
|
-
<!--<xsl:include href="lookupLists.xsl"/>-->
|
12
|
-
<!-- Creates the body of the finding aid.-->
|
13
|
-
<xsl:template match="/ead">
|
14
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
15
|
-
<head>
|
16
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
17
|
-
<title>
|
18
|
-
<xsl:value-of select="concat(eadheader/filedesc/titlestmt/titleproper,' ',eadheader/filedesc/titlestmt/subtitle)"/>
|
19
|
-
</title>
|
20
|
-
<xsl:call-template name="metadata"/>
|
21
|
-
<xsl:call-template name="css"/>
|
22
|
-
</head>
|
23
|
-
<body>
|
24
|
-
<div id="outer">
|
25
|
-
<xsl:call-template name="header"/>
|
26
|
-
<xsl:call-template name="toc"/>
|
27
|
-
<br/>
|
28
|
-
<a name="dummy"><h3><xsl:copy-of select="$DISP_TITEL_MAIN"/></h3></a>
|
29
|
-
<xsl:apply-templates select="archdesc/descgrp" mode="main"/>
|
30
|
-
</div>
|
31
|
-
<xsl:if test="/ead/archdesc/dsc/c/*">
|
32
|
-
<div id="outernew">
|
33
|
-
<xsl:for-each select="archdesc/dsc">
|
34
|
-
<br/>
|
35
|
-
<a class="ech3" name="DISP_TITEL_8" style="color:black;"><xsl:copy-of select="$DISP_TITEL_8"/></a>
|
36
|
-
<br/>
|
37
|
-
<xsl:apply-templates select="c" mode="detail"/>
|
38
|
-
<xsl:call-template name="returnTOC_nohr"/>
|
39
|
-
</xsl:for-each>
|
40
|
-
</div>
|
41
|
-
</xsl:if>
|
42
|
-
|
43
|
-
</body>
|
44
|
-
</html>
|
45
|
-
</xsl:template>
|
46
|
-
<!-- CSS for styling HTML output. Place all CSS styles in this template.-->
|
47
|
-
<xsl:template name="css">
|
48
|
-
<style type="text/css">
|
49
|
-
A:link {color: #d0af14; text-decoration: none;font-weight: bold;}
|
50
|
-
A:visited {color: #d0af14; text-decoration: none;font-weight: bold;}
|
51
|
-
A:active {color: #d0af14; text-decoration: none;font-weight: bold;}
|
52
|
-
A:hover {color: #d0af14; text-decoration: underline;font-weight: bold;}
|
53
|
-
</style>
|
54
|
-
<style xmlns:ead="urn:isbn:1-931666-22-9" type="text/css">
|
55
|
-
body{
|
56
|
-
font-family: Verdana, Arial, Helvetica, sans-serif;
|
57
|
-
font-size: 100%;
|
58
|
-
background:#fff;
|
59
|
-
}
|
60
|
-
.hrefid a:link {color: #d0af14; text-decoration: none;}
|
61
|
-
.hrefid a:visited {color: #d0af14; text-decoration: none;}
|
62
|
-
.hrefid a:active {color: #d0af14; }
|
63
|
-
.hrefid a:hover {color: #d0af14; }
|
64
|
-
#outer{
|
65
|
-
margin-left:1em;
|
66
|
-
background:#fff;
|
67
|
-
margin-right:1em;
|
68
|
-
}
|
69
|
-
#outer h3 {margin: 16px 8px 16px 0px;}
|
70
|
-
#outer dt {margin: 3px; padding: 4px 0px; font-weight: normal;}
|
71
|
-
#outer dd {margin-top: 3px; margin-left: 16px; padding: 4px 0px;}
|
72
|
-
#outer dt a:link, #outer dd a:link {color: black; text-decoration: none;}
|
73
|
-
#outer dt a:visited, #outer dd a:visited {color: black; text-decoration: none;}
|
74
|
-
#outer dt a:active, #outer dd a:active {color: #d0af14;}
|
75
|
-
#outer dt a:hover, #outer dd a:hover {color: #d0af14;}
|
76
|
-
|
77
|
-
#outernew{
|
78
|
-
margin-left:1em;
|
79
|
-
background:#fff;
|
80
|
-
margin-right:10cm;
|
81
|
-
}
|
82
|
-
#outernew h3 {margin: 16px 8px 16px 0px;}
|
83
|
-
#outernew dt {margin: 3px; padding: 4px 0px; font-weight: normal;}
|
84
|
-
#outernew dd {margin-top: 3px; margin-left: 16px; padding: 4px 0px;}
|
85
|
-
#outernew dt a:link, #outernew dd a:link {color: #d0af14; text-decoration: underline;}
|
86
|
-
#outernew dt a:visited, #outernew dd a:visited {color: #d0af14; text-decoration: underline;}
|
87
|
-
#outernew dt a:active, #outernew dd a:active {color: #d0af14; text-decoration: underline;}
|
88
|
-
#outernew dt a:hover, #outernew dd a:hover {color: #d0af14; text-decoration: underline;}
|
89
|
-
|
90
|
-
.returnTOC {font-size: 0.75em; margin-top: 24px;}
|
91
|
-
.returnTOC a:link {color: #d0af14; text-decoration: none;}
|
92
|
-
.returnTOC a:visited {color: #d0af14; text-decoration: none;}
|
93
|
-
.returnTOC a:active {color: #d0af14; }
|
94
|
-
.returnTOC a:hover {color: #d0af14; }
|
95
|
-
.ech9 {display:block;font-size: 0.7em; text-align:left; padding-left : 1em;padding-right : 1em;}
|
96
|
-
.ech5 {display:block;font-size: 0.8em;font-weight : bold; padding-left : 1em;padding-right : 1em;text-align:left; }
|
97
|
-
.ech6 {display:block;font-size: 0.75em;font-weight : bold; padding-left : 1em;padding-right : 1em;text-align:left; }
|
98
|
-
.ech6nb {display:block;font-size: 0.75em; padding-left : 1em;padding-right : 1em;text-align:left; }
|
99
|
-
.ech6tref {font-size: 0.75em;font-weight : bold; padding-left : 1em;text-align:left; }
|
100
|
-
.ech3 {display:block;font-size: 1em; font-weight : bold;}
|
101
|
-
|
102
|
-
<!--
|
103
|
-
.Archief {display:block;font-size: 1.25em; padding-right : 1em;text-align:left; }
|
104
|
-
.Deelarchief {display:block;font-size: 1.25em; padding-right : 1em;text-align:left; }
|
105
|
-
.Afdeling {display:block;font-size: 1.125em; padding-right : 1em;text-align:left; }
|
106
|
-
.Onderafdeling {display:block;font-size: 1.0625em; padding-right : 1em;text-align:left; }
|
107
|
-
.Rubriek {display:block;font-size: 1em; padding-right : 1em;text-align:left; }
|
108
|
-
.Subrubriek {display:block;font-size: 0.9375em; padding-right : 1em;text-align:left; }
|
109
|
-
.Reeks {display:block;font-size: 0.875em; padding-right : 1em;text-align:left; }
|
110
|
-
.Reeks - meervoudige beschrijving {display:block;font-size: 0.8125em; padding-right : 1em;text-align:left; }
|
111
|
-
.Deelreeks {display:block;font-size: 0.75em; padding-right : 1em;text-align:left; }
|
112
|
-
.Deelreeks - meervoudige beschrijving {display:block;font-size: 0.6875em; padding-right : 1em;text-align:left; }
|
113
|
-
.Bestanddeel {display:block;font-size: 0.625em; padding-right : 1em;text-align:left; }
|
114
|
-
.Bestanddeel - meervoudige beschrijving {display:block;font-size: 0.625em; padding-right : 1em;text-align:left; }
|
115
|
-
.Subbestanddeel {display:block;font-size: 0.625em; padding-right : 1em;text-align:left; }
|
116
|
-
.Subbestanddeel - meervoudige beschrijving {display:block;font-size: 0.625em; padding-right : 1em;text-align:left; }
|
117
|
-
.Stuk {display:block;font-size: 0.5625em; padding-right : 1em;text-align:left; }
|
118
|
-
-->
|
119
|
-
.fontarchiefnb {display:block;font-size: 1.25em; display:block; padding-right : 1em;text-align:left; }
|
120
|
-
.fontdeelarchiefnb {display:block;font-size: 1.25em; display:block; padding-right : 1em;text-align:left; }
|
121
|
-
.fontafdelingnb {display:block;font-size: 1.125em; display:block; padding-right : 1em;text-align:left; }
|
122
|
-
.fontonderafdelingnb {display:block;font-size: 1.0625em; display:block; padding-right : 1em;text-align:left; }
|
123
|
-
.fontrubrieknb {display:block;font-size: 1em; display:block; padding-right : 1em;text-align:left; }
|
124
|
-
.fontsubrubrieknb {display:block;font-size: 0.9375em; display:block; padding-right : 1em;text-align:left; }
|
125
|
-
.fontreeksnb {display:block;font-size: 0.875em; display:block; padding-right : 1em;text-align:left; }
|
126
|
-
.fontreeksmbnb {display:block;font-size: 0.8125em; display:block; padding-right : 1em;text-align:left; }
|
127
|
-
.fontdeelreeksnb {display:block;font-size: 0.75em; display:block; padding-right : 1em;text-align:left; }
|
128
|
-
.fontdeelreeksmbnb {display:block;font-size: 0.6875em; display:block; padding-right : 1em;text-align:left; }
|
129
|
-
.fontbestanddeelnb {display:block;font-size: 0.625em; display:block; padding-right : 1em;text-align:left; }
|
130
|
-
.fontbestanddeelmbnb {display:block;font-size: 0.625em; display:block; padding-right : 1em;text-align:left; }
|
131
|
-
.fontsubbestanddeelnb {display:block;font-size: 0.625em; display:block; padding-right : 1em;text-align:left; }
|
132
|
-
.fontsubbestanddeelmbnb {display:block;font-size: 0.625em; display:block; padding-right : 1em;text-align:left; }
|
133
|
-
.stuknb {display:block;font-size: 0.5625em; display:block; padding-right : 1em;text-align:left; }
|
134
|
-
h2 {
|
135
|
-
font-weight: bold;
|
136
|
-
font-size: 15pt;
|
137
|
-
}
|
138
|
-
h3 {
|
139
|
-
font-weight: bold;
|
140
|
-
font-size: 14pt;
|
141
|
-
}
|
142
|
-
.Archief { font-size: 15pt; }
|
143
|
-
.Deelarchief { font-size: 16pt; font-weight: bold;}
|
144
|
-
.Afdeling { font-size: 16pt; font-variant:small-caps;}
|
145
|
-
.Onderafdeling { font-size: 14pt; font-weight: bold;}
|
146
|
-
.Rubriek { font-size: 14pt; font-variant:small-caps;}
|
147
|
-
.Subrubriek { font-size: 12pt; font-style:italic}
|
148
|
-
.Reeks { font-size: 12pt; text-transform:capitalize}
|
149
|
-
.Reeks - meervoudige beschrijving { font-size: 10pt; }
|
150
|
-
.Deelreeks { font-size: 12pt; text-decoration:underline}
|
151
|
-
.Deelreeks - meervoudige beschrijving { font-size: 10pt; }
|
152
|
-
.Bestanddeel { font-size: 10pt; }
|
153
|
-
.Bestanddeel - meervoudige beschrijving { font-size: 10pt; }
|
154
|
-
.Subbestanddeel { font-size: 10pt; }
|
155
|
-
.Subbestanddeel - meervoudige beschrijving { font-size: 10pt; }
|
156
|
-
.Stuk { font-size: 10pt; }
|
157
|
-
</style>
|
158
|
-
</xsl:template>
|
159
|
-
<!-- This template creates a customizable header -->
|
160
|
-
<xsl:template name="header">
|
161
|
-
<div style="text-align:left"><img src="http://www.lias.be/themes/LIAS/images/lias.jpg"/></div>
|
162
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/titleproper) != '' or normalize-space(eadheader/filedesc/titlestmt/subtitle) !='' or normalize-space(eadheader/filedesc/titlestmt/author) != ''">
|
163
|
-
<div style="text-align:center">
|
164
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/titleproper[@label='Titel']) != ''">
|
165
|
-
<h3><xsl:value-of select="eadheader/filedesc/titlestmt/titleproper[@label='Titel']"/></h3>
|
166
|
-
</xsl:if>
|
167
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/titleproper[@label='Ondertitel']) != ''">
|
168
|
-
<h3><xsl:value-of select="eadheader/filedesc/titlestmt/titleproper[@label='Ondertitel']"/></h3>
|
169
|
-
</xsl:if>
|
170
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/subtitle) !=''">
|
171
|
-
<h3><xsl:value-of select="eadheader/filedesc/titlestmt/subtitle"/></h3>
|
172
|
-
</xsl:if>
|
173
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/author) != ''">
|
174
|
-
<h5><xsl:value-of select="eadheader/filedesc/titlestmt/author"/></h5>
|
175
|
-
</xsl:if>
|
176
|
-
</div>
|
177
|
-
</xsl:if>
|
178
|
-
<p style="text-align:left;" class="ech9">Deze inventaris werd automatisch gegenereerd en gecodeerd.<br/>
|
179
|
-
De EAD-export werd gecontroleerd en gevalideerd door de werkgroep archivarissen van LIAS K.U.Leuven (Leuvens Integraal Archiveringssysteem), <xsl:value-of select="$EAD_DATE"/><br/>
|
180
|
-
<a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="$REC_ID"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>Volledige beschrijving in databank LIAS</a></p>
|
181
|
-
<hr/>
|
182
|
-
</xsl:template>
|
183
|
-
<!-- HTML meta tags for use by web search engines for indexing. -->
|
184
|
-
<xsl:template name="metadata">
|
185
|
-
<meta http-equiv="Content-Type" name="dc.title"
|
186
|
-
content="{concat(eadheader/filedesc/titlestmt/titleproper,' ',eadheader/filedesc/titlestmt/subtitle)}"/>
|
187
|
-
<meta http-equiv="Content-Type" name="dc.author"
|
188
|
-
content="{/ead/archdesc/descgrp/did/origination}"/>
|
189
|
-
<xsl:for-each select="/ead/archdesc/controlaccess/descendant::*">
|
190
|
-
<meta http-equiv="Content-Type" name="dc.subject" content="{.}"/>
|
191
|
-
</xsl:for-each>
|
192
|
-
<meta http-equiv="Content-Type" name="dc.type" content="text"/>
|
193
|
-
<meta http-equiv="Content-Type" name="dc.format" content="manuscripts"/>
|
194
|
-
<meta http-equiv="Content-Type" name="dc.format" content="finding aids"/>
|
195
|
-
</xsl:template>
|
196
|
-
<!-- Creates an ordered table of contents that matches the order of the archdesc
|
197
|
-
elements. To change the order rearrange the if/for-each statements. -->
|
198
|
-
<xsl:template name="toc">
|
199
|
-
<a name="toc"><h2><xsl:copy-of select="$DISP_TITEL_TOC"/></h2></a>
|
200
|
-
<a name="dummy"><h3><xsl:copy-of select="$DISP_TITEL_MAIN"/></h3></a>
|
201
|
-
<dl>
|
202
|
-
<xsl:for-each select="archdesc/descgrp">
|
203
|
-
<xsl:if test="head=$TITEL_1">
|
204
|
-
<dt><a class="ech5" href="#DISP_TITEL_1"><xsl:copy-of select="$DISP_TITEL_1"/></a></dt>
|
205
|
-
<dd><a class="ech6" href="#DISP_TITEL_1_1"><xsl:copy-of select="$DISP_TITEL_1_1"/></a></dd>
|
206
|
-
<xsl:if test="unititle">
|
207
|
-
<dd><a class="ech6" href="#DISP_TITEL_1_2"><xsl:copy-of select="$DISP_TITEL_1_2"/></a></dd>
|
208
|
-
</xsl:if>
|
209
|
-
<xsl:if test="unitdate">
|
210
|
-
<dd><a class="ech6" href="#DISP_TITEL_1_3"><xsl:copy-of select="$DISP_TITEL_1_3"/></a></dd>
|
211
|
-
</xsl:if>
|
212
|
-
<xsl:if test="physdesc/extent[@label='Omvang']">
|
213
|
-
<dd><a class="ech6" href="#DISP_TITEL_1_4"><xsl:copy-of select="$DISP_TITEL_1_4"/></a></dd>
|
214
|
-
</xsl:if>
|
215
|
-
</xsl:if>
|
216
|
-
<xsl:if test="head=$TITEL_2">
|
217
|
-
<dt><a class="ech5" href="#DISP_TITEL_2"><xsl:copy-of select="$DISP_TITEL_2"/></a></dt>
|
218
|
-
<xsl:if test="origination">
|
219
|
-
<dd><a class="ech6" href="#DISP_TITEL_2_1"><xsl:copy-of select="$DISP_TITEL_2_1"/></a></dd>
|
220
|
-
</xsl:if>
|
221
|
-
<xsl:if test="bioghist/p/text()">
|
222
|
-
<dd><a class="ech6" href="#DISP_TITEL_2_2"><xsl:copy-of select="$DISP_TITEL_2_2"/></a></dd>
|
223
|
-
</xsl:if>
|
224
|
-
<xsl:if test="custodhist/p/text()">
|
225
|
-
<dd><a class="ech6" href="#DISP_TITEL_2_3"><xsl:copy-of select="$DISP_TITEL_2_3"/></a></dd>
|
226
|
-
</xsl:if>
|
227
|
-
<xsl:if test="acqinfo/p/text()">
|
228
|
-
<dd><a class="ech6" href="#DISP_TITEL_2_4"><xsl:copy-of select="$DISP_TITEL_2_4"/></a></dd>
|
229
|
-
</xsl:if>
|
230
|
-
</xsl:if>
|
231
|
-
<xsl:if test="head=$TITEL_3">
|
232
|
-
<dt><a class="ech5" href="#DISP_TITEL_3"><xsl:copy-of select="$DISP_TITEL_3"/></a></dt>
|
233
|
-
<xsl:if test="scopecontent/head=$TITEL_3_1">
|
234
|
-
<dd><a class="ech6" href="#DISP_TITEL_3_1"><xsl:copy-of select="$DISP_TITEL_3_1"/></a></dd>
|
235
|
-
</xsl:if>
|
236
|
-
<xsl:if test="appraisal/head=$TITEL_3_2">
|
237
|
-
<dd><a class="ech6" href="#DISP_TITEL_3_2"><xsl:copy-of select="$DISP_TITEL_3_2"/></a></dd>
|
238
|
-
</xsl:if>
|
239
|
-
<xsl:if test="accruals/head=$TITEL_3_3">
|
240
|
-
<dd><a class="ech6" href="#DISP_TITEL_3_3"><xsl:copy-of select="$DISP_TITEL_3_3"/></a></dd>
|
241
|
-
</xsl:if>
|
242
|
-
<xsl:if test="arrangement/head=$TITEL_3_4">
|
243
|
-
<dd><a class="ech6" href="#DISP_TITEL_3_4"><xsl:copy-of select="$DISP_TITEL_3_4"/></a></dd>
|
244
|
-
</xsl:if>
|
245
|
-
</xsl:if>
|
246
|
-
<xsl:if test="head=$TITEL_4">
|
247
|
-
<dt><a class="ech5" href="#DISP_TITEL_4"><xsl:copy-of select="$DISP_TITEL_4"/></a></dt>
|
248
|
-
<xsl:if test="accessrestrict/head=$TITEL_4_1">
|
249
|
-
<dd><a class="ech6" href="#DISP_TITEL_4_1"><xsl:copy-of select="$DISP_TITEL_4_1"/></a></dd>
|
250
|
-
</xsl:if>
|
251
|
-
<xsl:if test="userestrict/head=$TITEL_4_2">
|
252
|
-
<dd><a class="ech6" href="#DISP_TITEL_4_2"><xsl:copy-of select="$DISP_TITEL_4_2"/></a></dd>
|
253
|
-
</xsl:if>
|
254
|
-
<xsl:if test="langmaterial/head=$TITEL_4_3">
|
255
|
-
<dd><a class="ech6" href="#DISP_TITEL_4_3"><xsl:copy-of select="$DISP_TITEL_4_3"/></a></dd>
|
256
|
-
</xsl:if>
|
257
|
-
<xsl:if test="phystech/head=$TITEL_4_4">
|
258
|
-
<dd><a class="ech6" href="#DISP_TITEL_4_4"><xsl:copy-of select="$DISP_TITEL_4_4"/></a></dd>
|
259
|
-
</xsl:if>
|
260
|
-
<!--
|
261
|
-
<xsl:if test="otherfindaid/head=$TITEL_4_5">
|
262
|
-
<dd><a class="ech6" href="#DISP_TITEL_4_5"><xsl:copy-of select="$DISP_TITEL_4_5"/></a></dd>
|
263
|
-
</xsl:if>
|
264
|
-
-->
|
265
|
-
</xsl:if>
|
266
|
-
<xsl:if test="head=$TITEL_5">
|
267
|
-
<dt><a class="ech5" href="#DISP_TITEL_5"><xsl:copy-of select="$DISP_TITEL_5"/></a></dt>
|
268
|
-
<xsl:if test="originalsloc/head=$TITEL_5_1">
|
269
|
-
<dd><a class="ech6" href="#DISP_TITEL_5_1"><xsl:copy-of select="$DISP_TITEL_5_1"/></a></dd>
|
270
|
-
</xsl:if>
|
271
|
-
<xsl:if test="altformavail/head=$TITEL_5_2">
|
272
|
-
<dd><a class="ech6" href="#DISP_TITEL_5_2"><xsl:copy-of select="$DISP_TITEL_5_2"/></a></dd>
|
273
|
-
</xsl:if>
|
274
|
-
<xsl:if test="relatedmaterial/head=$TITEL_5_3">
|
275
|
-
<dd><a class="ech6" href="#DISP_TITEL_5_3"><xsl:copy-of select="$DISP_TITEL_5_3"/></a></dd>
|
276
|
-
</xsl:if>
|
277
|
-
<xsl:if test="bibliography/head=$TITEL_5_4">
|
278
|
-
<dd><a class="ech6" href="#DISP_TITEL_5_4"><xsl:copy-of select="$DISP_TITEL_5_4"/></a></dd>
|
279
|
-
</xsl:if>
|
280
|
-
</xsl:if>
|
281
|
-
<xsl:if test="head=$TITEL_6">
|
282
|
-
<dt><a class="ech5" href="#DISP_TITEL_6"><xsl:copy-of select="$DISP_TITEL_6"/></a></dt>
|
283
|
-
<xsl:if test="note/head=$TITEL_6_1">
|
284
|
-
<dd><a class="ech6" href="#DISP_TITEL_6_1"><xsl:copy-of select="$DISP_TITEL_6_1"/></a></dd>
|
285
|
-
</xsl:if>
|
286
|
-
</xsl:if>
|
287
|
-
<xsl:if test="head=$TITEL_7">
|
288
|
-
<dt><a class="ech5" href="#DISP_TITEL_7"><xsl:copy-of select="$DISP_TITEL_7"/></a></dt>
|
289
|
-
<xsl:if test="processinfo[@label='Verantwoording']/head=$TITEL_7_1">
|
290
|
-
<dd><a class="ech6" href="#DISP_TITEL_7_1"><xsl:copy-of select="$DISP_TITEL_7_1"/></a></dd>
|
291
|
-
</xsl:if>
|
292
|
-
<xsl:if test="descrules/head=$TITEL_7_2">
|
293
|
-
<dd><a class="ech6" href="#DISP_TITEL_7_2"><xsl:copy-of select="$DISP_TITEL_7_2"/></a></dd>
|
294
|
-
</xsl:if>
|
295
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/head=$TITEL_7_3">
|
296
|
-
<dd><a class="ech6" href="#DISP_TITEL_7_3"><xsl:copy-of select="$DISP_TITEL_7_3"/></a></dd>
|
297
|
-
</xsl:if>
|
298
|
-
<xsl:if test="/ead/archdesc/controlaccess">
|
299
|
-
<dd><a class="ech6" href="#DISP_TITEL_7_4"><xsl:copy-of select="$DISP_TITEL_7_4"/></a></dd>
|
300
|
-
</xsl:if>
|
301
|
-
</xsl:if>
|
302
|
-
|
303
|
-
</xsl:for-each>
|
304
|
-
</dl>
|
305
|
-
<xsl:if test="/ead/archdesc/dsc">
|
306
|
-
<a class="ech3" href="#DISP_TITEL_8" style="color:black;"><xsl:copy-of select="$DISP_TITEL_8"/></a>
|
307
|
-
<xsl:for-each select="archdesc/dsc">
|
308
|
-
<xsl:apply-templates select="c" mode="heading"/>
|
309
|
-
</xsl:for-each>
|
310
|
-
</xsl:if>
|
311
|
-
<hr/>
|
312
|
-
</xsl:template>
|
313
|
-
|
314
|
-
<!-- Named template for a generic p element with a link back to the table of contents -->
|
315
|
-
<xsl:template name="returnTOC">
|
316
|
-
<p class="returnTOC">  <a href="#toc">Terug naar Inhoudstafel</a></p>
|
317
|
-
<hr/>
|
318
|
-
</xsl:template>
|
319
|
-
<xsl:template name="returnTOC_nohr">
|
320
|
-
<p class="returnTOC">  <a href="#toc">Terug naar Inhoudstafel</a></p>
|
321
|
-
</xsl:template>
|
322
|
-
<xsl:template match="eadheader">
|
323
|
-
<h1 id="{generate-id(filedesc/titlestmt/titleproper)}">
|
324
|
-
<xsl:apply-templates select="filedesc/titlestmt/titleproper"/>
|
325
|
-
</h1>
|
326
|
-
<xsl:if test="normalize-space(filedesc/titlestmt/subtitle) != ''">
|
327
|
-
<h2>
|
328
|
-
<xsl:apply-templates select="filedesc/titlestmt/subtitle"/>
|
329
|
-
</h2>
|
330
|
-
</xsl:if>
|
331
|
-
</xsl:template>
|
332
|
-
<xsl:template match="filedesc/titlestmt/titleproper">
|
333
|
-
<xsl:choose>
|
334
|
-
<xsl:when test="@type = 'filing'">
|
335
|
-
<xsl:choose>
|
336
|
-
<xsl:when test="count(parent::*/titleproper) > 1"/>
|
337
|
-
<xsl:otherwise>
|
338
|
-
<xsl:value-of select="/ead/archdesc/descgrp/did/unittitle"/>
|
339
|
-
</xsl:otherwise>
|
340
|
-
</xsl:choose>
|
341
|
-
</xsl:when>
|
342
|
-
<xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
|
343
|
-
</xsl:choose>
|
344
|
-
</xsl:template>
|
345
|
-
<xsl:template match="filedesc/titlestmt/titleproper/num"><br/><xsl:apply-templates/></xsl:template>
|
346
|
-
<xsl:template match="archdesc/did">
|
347
|
-
<h3>
|
348
|
-
<a name="{generate-id(.)}">
|
349
|
-
<xsl:choose>
|
350
|
-
<xsl:when test="head">
|
351
|
-
<xsl:value-of select="head"/>
|
352
|
-
</xsl:when>
|
353
|
-
<xsl:otherwise>
|
354
|
-
Summary Information
|
355
|
-
</xsl:otherwise>
|
356
|
-
</xsl:choose>
|
357
|
-
</a>
|
358
|
-
</h3>
|
359
|
-
<!-- Determines the order in wich elements from the archdesc did appear,
|
360
|
-
to change the order of appearance for the children of did
|
361
|
-
by changing the order of the following statements.-->
|
362
|
-
<dl class="summary">
|
363
|
-
<xsl:apply-templates select="repository"/>
|
364
|
-
<xsl:apply-templates select="origination"/>
|
365
|
-
<xsl:apply-templates select="unittitle"/>
|
366
|
-
<xsl:apply-templates select="unitid"/>
|
367
|
-
<xsl:apply-templates select="unitdate"/>
|
368
|
-
<xsl:apply-templates select="physdesc"/>
|
369
|
-
<xsl:apply-templates select="physloc"/>
|
370
|
-
<xsl:apply-templates select="langmaterial"/>
|
371
|
-
<xsl:apply-templates select="materialspec"/>
|
372
|
-
<xsl:apply-templates select="container"/>
|
373
|
-
<xsl:apply-templates select="abstract"/>
|
374
|
-
<xsl:apply-templates select="note"/>
|
375
|
-
</dl>
|
376
|
-
<xsl:apply-templates select="../prefercite"/>
|
377
|
-
<xsl:call-template name="returnTOC"/>
|
378
|
-
</xsl:template>
|
379
|
-
<!-- Template calls and formats the children of archdesc/did -->
|
380
|
-
<xsl:template match="archdesc/did/repository | archdesc/did/unittitle | archdesc/did/unitid | archdesc/did/origination
|
381
|
-
| archdesc/did/unitdate | archdesc/did/physdesc | archdesc/did/physloc
|
382
|
-
| archdesc/did/abstract | archdesc/did/langmaterial | archdesc/did/materialspec | archdesc/did/container">
|
383
|
-
<dt>
|
384
|
-
<xsl:choose>
|
385
|
-
<xsl:when test="@label">
|
386
|
-
<xsl:value-of select="concat(translate( substring(@label, 1, 1 ),
|
387
|
-
'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ),
|
388
|
-
substring(@label, 2, string-length(@label )))" />
|
389
|
-
|
390
|
-
<xsl:if test="@type"> [<xsl:value-of select="@type"/>]</xsl:if>
|
391
|
-
<xsl:if test="self::origination">
|
392
|
-
<xsl:choose>
|
393
|
-
<xsl:when test="persname[@role != ''] and contains(persname/@role,' (')">
|
394
|
-
- <xsl:value-of select="substring-before(persname/@role,' (')"/>
|
395
|
-
</xsl:when>
|
396
|
-
<xsl:when test="persname[@role != '']">
|
397
|
-
- <xsl:value-of select="persname/@role"/>
|
398
|
-
</xsl:when>
|
399
|
-
<xsl:otherwise/>
|
400
|
-
</xsl:choose>
|
401
|
-
</xsl:if>
|
402
|
-
</xsl:when>
|
403
|
-
<xsl:otherwise>
|
404
|
-
<xsl:choose>
|
405
|
-
<xsl:when test="self::repository">Repository</xsl:when>
|
406
|
-
<xsl:when test="self::unittitle">Title</xsl:when>
|
407
|
-
<xsl:when test="self::unitid">ID</xsl:when>
|
408
|
-
<xsl:when test="self::unitdate">Date<xsl:if test="@type"> [<xsl:value-of select="@type"/>]</xsl:if></xsl:when>
|
409
|
-
<xsl:when test="self::origination">
|
410
|
-
<xsl:choose>
|
411
|
-
<xsl:when test="persname[@role != ''] and contains(persname/@role,' (')">
|
412
|
-
Creator - <xsl:value-of select="substring-before(persname/@role,' (')"/>
|
413
|
-
</xsl:when>
|
414
|
-
<xsl:when test="persname[@role != '']">
|
415
|
-
Creator - <xsl:value-of select="persname/@role"/>
|
416
|
-
</xsl:when>
|
417
|
-
<xsl:otherwise>
|
418
|
-
Creator
|
419
|
-
</xsl:otherwise>
|
420
|
-
</xsl:choose>
|
421
|
-
</xsl:when>
|
422
|
-
<xsl:when test="self::physdesc">Extent</xsl:when>
|
423
|
-
<xsl:when test="self::abstract">Abstract</xsl:when>
|
424
|
-
<xsl:when test="self::physloc">Location</xsl:when>
|
425
|
-
<xsl:when test="self::langmaterial">Language</xsl:when>
|
426
|
-
<xsl:when test="self::materialspec">Technical</xsl:when>
|
427
|
-
<xsl:when test="self::container">Container</xsl:when>
|
428
|
-
<xsl:when test="self::note">Note</xsl:when>
|
429
|
-
</xsl:choose>
|
430
|
-
</xsl:otherwise>
|
431
|
-
</xsl:choose>
|
432
|
-
</dt>
|
433
|
-
<dd>
|
434
|
-
<xsl:apply-templates/>
|
435
|
-
</dd>
|
436
|
-
</xsl:template>
|
437
|
-
<!-- Templates for publication information -->
|
438
|
-
<xsl:template match="eadheader/filedesc/publicationstmt">
|
439
|
-
<h4>Publication Information</h4>
|
440
|
-
<p><xsl:apply-templates select="publisher"/>
|
441
|
-
<xsl:if test="date"> <xsl:apply-templates select="date"/></xsl:if>
|
442
|
-
</p>
|
443
|
-
</xsl:template>
|
444
|
-
<!-- Templates for revision description -->
|
445
|
-
<xsl:template match="eadheader/revisiondesc">
|
446
|
-
<h4>Revision Description</h4>
|
447
|
-
<p><xsl:if test="change/item"><xsl:apply-templates select="change/item"/></xsl:if><xsl:if test="change/date"> <xsl:apply-templates select="change/date"/></xsl:if></p>
|
448
|
-
</xsl:template>
|
449
|
-
|
450
|
-
<!-- Formats controlled access terms -->
|
451
|
-
<xsl:template match="controlaccess">
|
452
|
-
|
453
|
-
<xsl:choose>
|
454
|
-
<xsl:when test="head"><xsl:apply-templates/></xsl:when>
|
455
|
-
<xsl:otherwise>
|
456
|
-
<xsl:choose>
|
457
|
-
<xsl:when test="parent::archdesc"><h3><xsl:call-template name="anchor"/>Controlled Access Headings</h3></xsl:when>
|
458
|
-
<xsl:otherwise><h4>Controlled Access Headings</h4></xsl:otherwise>
|
459
|
-
</xsl:choose>
|
460
|
-
</xsl:otherwise>
|
461
|
-
</xsl:choose>
|
462
|
-
<xsl:if test="corpname">
|
463
|
-
<h4>Corporate Name(s)</h4>
|
464
|
-
<ul>
|
465
|
-
<xsl:for-each select="corpname">
|
466
|
-
<li><xsl:apply-templates/> </li>
|
467
|
-
</xsl:for-each>
|
468
|
-
</ul>
|
469
|
-
</xsl:if>
|
470
|
-
<xsl:if test="famname">
|
471
|
-
<h4>Family Name(s)</h4>
|
472
|
-
<ul>
|
473
|
-
<xsl:for-each select="famname">
|
474
|
-
<li><xsl:apply-templates/> </li>
|
475
|
-
</xsl:for-each>
|
476
|
-
</ul>
|
477
|
-
</xsl:if>
|
478
|
-
<xsl:if test="function">
|
479
|
-
<h4>Function(s)</h4>
|
480
|
-
<ul>
|
481
|
-
<xsl:for-each select="function">
|
482
|
-
<li><xsl:apply-templates/> </li>
|
483
|
-
</xsl:for-each>
|
484
|
-
</ul>
|
485
|
-
</xsl:if>
|
486
|
-
<xsl:if test="genreform">
|
487
|
-
<h4>Genre(s)</h4>
|
488
|
-
<ul>
|
489
|
-
<xsl:for-each select="genreform">
|
490
|
-
<li><xsl:apply-templates/> </li>
|
491
|
-
</xsl:for-each>
|
492
|
-
</ul>
|
493
|
-
</xsl:if>
|
494
|
-
<xsl:if test="geogname">
|
495
|
-
<h4>Geographic Name(s)</h4>
|
496
|
-
<ul>
|
497
|
-
<xsl:for-each select="geogname">
|
498
|
-
<li><xsl:apply-templates/> </li>
|
499
|
-
</xsl:for-each>
|
500
|
-
</ul>
|
501
|
-
</xsl:if>
|
502
|
-
<xsl:if test="occupation">
|
503
|
-
<h4>Occupation(s)</h4>
|
504
|
-
<ul>
|
505
|
-
<xsl:for-each select="occupation">
|
506
|
-
<li><xsl:apply-templates/> </li>
|
507
|
-
</xsl:for-each>
|
508
|
-
</ul>
|
509
|
-
</xsl:if>
|
510
|
-
<xsl:if test="persname">
|
511
|
-
<h4>Personal Name(s)</h4>
|
512
|
-
<ul>
|
513
|
-
<xsl:for-each select="persname">
|
514
|
-
<li><xsl:apply-templates/> </li>
|
515
|
-
</xsl:for-each>
|
516
|
-
</ul>
|
517
|
-
</xsl:if>
|
518
|
-
<xsl:if test="subject">
|
519
|
-
<h4>Subject(s)</h4>
|
520
|
-
<ul>
|
521
|
-
<xsl:for-each select="subject">
|
522
|
-
<li><xsl:apply-templates/> </li>
|
523
|
-
</xsl:for-each>
|
524
|
-
</ul>
|
525
|
-
</xsl:if>
|
526
|
-
<xsl:if test="parent::archdesc"><xsl:call-template name="returnTOC"/></xsl:if>
|
527
|
-
</xsl:template>
|
528
|
-
<!-- Formats index and child elements, groups indexentry elements by type (i.e. corpname, subject...)-->
|
529
|
-
<xsl:template match="index">
|
530
|
-
<xsl:choose>
|
531
|
-
<xsl:when test="head"/>
|
532
|
-
<xsl:otherwise>
|
533
|
-
<xsl:choose>
|
534
|
-
<xsl:when test="parent::archdesc">
|
535
|
-
<h3><xsl:call-template name="anchor"/>Index</h3>
|
536
|
-
</xsl:when>
|
537
|
-
<xsl:otherwise>
|
538
|
-
<h4><xsl:call-template name="anchor"/>Index</h4>
|
539
|
-
</xsl:otherwise>
|
540
|
-
</xsl:choose>
|
541
|
-
</xsl:otherwise>
|
542
|
-
</xsl:choose>
|
543
|
-
<xsl:apply-templates select="child::*[not(self::indexentry)]"/>
|
544
|
-
<xsl:if test="indexentry/corpname">
|
545
|
-
<h4>Corporate Name(s)</h4>
|
546
|
-
<ul>
|
547
|
-
<xsl:for-each select="indexentry/corpname">
|
548
|
-
<xsl:sort/>
|
549
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
550
|
-
</xsl:for-each>
|
551
|
-
</ul>
|
552
|
-
</xsl:if>
|
553
|
-
<xsl:if test="indexentry/famname">
|
554
|
-
<h4>Family Name(s)</h4>
|
555
|
-
<ul>
|
556
|
-
<xsl:for-each select="indexentry/famname">
|
557
|
-
<xsl:sort/>
|
558
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
559
|
-
</xsl:for-each>
|
560
|
-
</ul>
|
561
|
-
</xsl:if>
|
562
|
-
<xsl:if test="indexentry/function">
|
563
|
-
<h4>Function(s)</h4>
|
564
|
-
<ul>
|
565
|
-
<xsl:for-each select="indexentry/function">
|
566
|
-
<xsl:sort/>
|
567
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
568
|
-
</xsl:for-each>
|
569
|
-
</ul>
|
570
|
-
</xsl:if>
|
571
|
-
<xsl:if test="indexentry/genreform">
|
572
|
-
<h4>Genre(s)</h4>
|
573
|
-
<ul>
|
574
|
-
<xsl:for-each select="indexentry/genreform">
|
575
|
-
<xsl:sort/>
|
576
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
577
|
-
</xsl:for-each>
|
578
|
-
</ul>
|
579
|
-
</xsl:if>
|
580
|
-
<xsl:if test="indexentry/geogname">
|
581
|
-
<h4>Geographic Name(s)</h4>
|
582
|
-
<ul>
|
583
|
-
<xsl:for-each select="indexentry/geogname">
|
584
|
-
<xsl:sort/>
|
585
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
586
|
-
</xsl:for-each>
|
587
|
-
</ul>
|
588
|
-
</xsl:if>
|
589
|
-
<xsl:if test="indexentry/name">
|
590
|
-
<h4>Name(s)</h4>
|
591
|
-
<ul>
|
592
|
-
<xsl:for-each select="indexentry/name">
|
593
|
-
<xsl:sort/>
|
594
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
595
|
-
</xsl:for-each>
|
596
|
-
</ul>
|
597
|
-
</xsl:if>
|
598
|
-
<xsl:if test="indexentry/occupation">
|
599
|
-
<h4>Occupation(s)</h4>
|
600
|
-
<ul>
|
601
|
-
<xsl:for-each select="indexentry/occupation">
|
602
|
-
<xsl:sort/>
|
603
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
604
|
-
</xsl:for-each>
|
605
|
-
</ul>
|
606
|
-
</xsl:if>
|
607
|
-
<xsl:if test="indexentry/persname">
|
608
|
-
<h4>Personal Name(s)</h4>
|
609
|
-
<ul>
|
610
|
-
<xsl:for-each select="indexentry/persname">
|
611
|
-
<xsl:sort/>
|
612
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
613
|
-
</xsl:for-each>
|
614
|
-
</ul>
|
615
|
-
</xsl:if>
|
616
|
-
<xsl:if test="indexentry/subject">
|
617
|
-
<h4>Subject(s)</h4>
|
618
|
-
<ul>
|
619
|
-
<xsl:for-each select="indexentry/subject">
|
620
|
-
<xsl:sort/>
|
621
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
622
|
-
</xsl:for-each>
|
623
|
-
</ul>
|
624
|
-
</xsl:if>
|
625
|
-
<xsl:if test="indexentry/title">
|
626
|
-
<h4>Title(s)</h4>
|
627
|
-
<ul>
|
628
|
-
<xsl:for-each select="indexentry/title">
|
629
|
-
<xsl:sort/>
|
630
|
-
<li><xsl:apply-templates select="."/>:  <xsl:apply-templates select="following-sibling::*"/></li>
|
631
|
-
</xsl:for-each>
|
632
|
-
</ul>
|
633
|
-
</xsl:if>
|
634
|
-
<xsl:if test="parent::archdesc"><xsl:call-template name="returnTOC"/></xsl:if>
|
635
|
-
</xsl:template>
|
636
|
-
<xsl:template match="indexentry">
|
637
|
-
<dl class="indexEntry">
|
638
|
-
<dt><xsl:apply-templates select="child::*[1]"/></dt>
|
639
|
-
<dd><xsl:apply-templates select="child::*[2]"/></dd>
|
640
|
-
</dl>
|
641
|
-
</xsl:template>
|
642
|
-
<xsl:template match="ptrgrp">
|
643
|
-
<xsl:apply-templates/>
|
644
|
-
</xsl:template>
|
645
|
-
|
646
|
-
<!-- Linking elements. -->
|
647
|
-
<xsl:template match="ptr">
|
648
|
-
<xsl:choose>
|
649
|
-
<xsl:when test="@target">
|
650
|
-
<a href="#{@target}"><xsl:value-of select="@target"/></a>
|
651
|
-
<xsl:if test="following-sibling::ptr">, </xsl:if>
|
652
|
-
</xsl:when>
|
653
|
-
<xsl:otherwise>
|
654
|
-
<xsl:apply-templates/>
|
655
|
-
</xsl:otherwise>
|
656
|
-
</xsl:choose>
|
657
|
-
</xsl:template>
|
658
|
-
<xsl:template match="ref">
|
659
|
-
<xsl:choose>
|
660
|
-
<xsl:when test="@target">
|
661
|
-
<a href="#{@target}">
|
662
|
-
<xsl:apply-templates/>
|
663
|
-
</a>
|
664
|
-
<xsl:if test="following-sibling::ref">, </xsl:if>
|
665
|
-
</xsl:when>
|
666
|
-
<xsl:when test="@ns2:href">
|
667
|
-
<a href="#{@ns2:href}">
|
668
|
-
<xsl:apply-templates/>
|
669
|
-
</a>
|
670
|
-
<xsl:if test="following-sibling::ref">, </xsl:if>
|
671
|
-
</xsl:when>
|
672
|
-
<xsl:otherwise>
|
673
|
-
<xsl:apply-templates/>
|
674
|
-
</xsl:otherwise>
|
675
|
-
</xsl:choose>
|
676
|
-
</xsl:template>
|
677
|
-
<xsl:template match="extptr">
|
678
|
-
<xsl:choose>
|
679
|
-
<xsl:when test="@href">
|
680
|
-
<a href="{@href}"><xsl:value-of select="@title"/></a>
|
681
|
-
</xsl:when>
|
682
|
-
<xsl:when test="@ns2:href"><a href="{@ns2:href}"><xsl:value-of select="@title"/></a></xsl:when>
|
683
|
-
<xsl:otherwise><xsl:value-of select="@title"/></xsl:otherwise>
|
684
|
-
</xsl:choose>
|
685
|
-
</xsl:template>
|
686
|
-
<xsl:template match="extref">
|
687
|
-
<xsl:choose>
|
688
|
-
<xsl:when test="@href">
|
689
|
-
<a href="{@href}"><xsl:value-of select="."/></a>
|
690
|
-
</xsl:when>
|
691
|
-
<xsl:when test="@ns2:href"><a href="{@ns2:href}"><xsl:value-of select="."/></a></xsl:when>
|
692
|
-
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
693
|
-
</xsl:choose>
|
694
|
-
</xsl:template>
|
695
|
-
|
696
|
-
<!--Creates a hidden anchor tag that allows navigation within the finding aid.
|
697
|
-
In this stylesheet only children of the archdesc and c0* itmes call this template.
|
698
|
-
It can be applied anywhere in the stylesheet as the id attribute is universal. -->
|
699
|
-
<xsl:template match="@id">
|
700
|
-
<xsl:attribute name="id"><xsl:value-of select="."/></xsl:attribute>
|
701
|
-
</xsl:template>
|
702
|
-
<xsl:template name="anchor">
|
703
|
-
<xsl:choose>
|
704
|
-
<xsl:when test="@id">
|
705
|
-
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
706
|
-
</xsl:when>
|
707
|
-
<xsl:otherwise>
|
708
|
-
<xsl:attribute name="id"><xsl:value-of select="generate-id(.)"/></xsl:attribute>
|
709
|
-
</xsl:otherwise>
|
710
|
-
</xsl:choose>
|
711
|
-
</xsl:template>
|
712
|
-
<xsl:template name="tocLinks">
|
713
|
-
<xsl:choose>
|
714
|
-
<xsl:when test="self::*/@id">
|
715
|
-
<xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
|
716
|
-
</xsl:when>
|
717
|
-
<xsl:otherwise>
|
718
|
-
<xsl:attribute name="href">#<xsl:value-of select="generate-id(.)"/></xsl:attribute>
|
719
|
-
</xsl:otherwise>
|
720
|
-
</xsl:choose>
|
721
|
-
</xsl:template>
|
722
|
-
|
723
|
-
<!--Bibref, choose statement decides if the citation is inline, if there is a parent element
|
724
|
-
or if it is its own line, typically when it is a child of the bibliography element.-->
|
725
|
-
<xsl:template match="bibref">
|
726
|
-
<xsl:choose>
|
727
|
-
<xsl:when test="parent::p">
|
728
|
-
<xsl:choose>
|
729
|
-
<xsl:when test="@ns2:href">
|
730
|
-
<a href="{@ns2:href}"><xsl:apply-templates/></a>
|
731
|
-
</xsl:when>
|
732
|
-
<xsl:otherwise>
|
733
|
-
<xsl:apply-templates/>
|
734
|
-
</xsl:otherwise>
|
735
|
-
</xsl:choose>
|
736
|
-
</xsl:when>
|
737
|
-
<xsl:otherwise>
|
738
|
-
<p>
|
739
|
-
<xsl:choose>
|
740
|
-
<xsl:when test="@ns2:href">
|
741
|
-
<a href="{@ns2:href}"><xsl:apply-templates/></a>
|
742
|
-
</xsl:when>
|
743
|
-
<xsl:otherwise>
|
744
|
-
<xsl:apply-templates/>
|
745
|
-
</xsl:otherwise>
|
746
|
-
</xsl:choose>
|
747
|
-
</p>
|
748
|
-
</xsl:otherwise>
|
749
|
-
</xsl:choose>
|
750
|
-
</xsl:template>
|
751
|
-
|
752
|
-
<!-- Formats prefered citiation -->
|
753
|
-
<xsl:template match="prefercite">
|
754
|
-
<div class="citation">
|
755
|
-
<xsl:choose>
|
756
|
-
<xsl:when test="head"><xsl:apply-templates/></xsl:when>
|
757
|
-
<xsl:otherwise><h4>Preferred Citation</h4><xsl:apply-templates/></xsl:otherwise>
|
758
|
-
</xsl:choose>
|
759
|
-
</div>
|
760
|
-
</xsl:template>
|
761
|
-
<!-- Applies a span style to address elements, currently addresses are displayed
|
762
|
-
as a block item, display can be changed to inline, by changing the CSS -->
|
763
|
-
<xsl:template match="address">
|
764
|
-
<span class="address">
|
765
|
-
<xsl:for-each select="child::*">
|
766
|
-
<xsl:apply-templates/>
|
767
|
-
<xsl:choose>
|
768
|
-
<xsl:when test="lb"/>
|
769
|
-
<xsl:otherwise><br/></xsl:otherwise>
|
770
|
-
</xsl:choose>
|
771
|
-
</xsl:for-each>
|
772
|
-
</span>
|
773
|
-
</xsl:template>
|
774
|
-
|
775
|
-
<!-- Formats headings throughout the finding aid -->
|
776
|
-
<xsl:template match="head[parent::*/parent::archdesc]">
|
777
|
-
<xsl:choose>
|
778
|
-
<xsl:when test="parent::accessrestrict or parent::userestrict or
|
779
|
-
parent::custodhist or parent::accruals or
|
780
|
-
parent::altformavail or parent::acqinfo or
|
781
|
-
parent::processinfo or parent::appraisal or
|
782
|
-
parent::originalsloc or
|
783
|
-
parent::relatedmaterial or parent::separatedmaterial or parent::prefercite">
|
784
|
-
<h4>
|
785
|
-
<xsl:choose>
|
786
|
-
<xsl:when test="parent::*/@id">
|
787
|
-
<xsl:attribute name="id"><xsl:value-of select="parent::*/@id"/></xsl:attribute>
|
788
|
-
</xsl:when>
|
789
|
-
<xsl:otherwise>
|
790
|
-
<xsl:attribute name="id"><xsl:value-of select="generate-id(parent::*)"/></xsl:attribute>
|
791
|
-
</xsl:otherwise>
|
792
|
-
</xsl:choose>
|
793
|
-
<xsl:apply-templates/>
|
794
|
-
</h4>
|
795
|
-
</xsl:when>
|
796
|
-
<xsl:otherwise>
|
797
|
-
<h3>
|
798
|
-
<xsl:choose>
|
799
|
-
<xsl:when test="parent::*/@id">
|
800
|
-
<xsl:attribute name="id"><xsl:value-of select="parent::*/@id"/></xsl:attribute>
|
801
|
-
</xsl:when>
|
802
|
-
<xsl:otherwise>
|
803
|
-
<xsl:attribute name="id"><xsl:value-of select="generate-id(parent::*)"/></xsl:attribute>
|
804
|
-
</xsl:otherwise>
|
805
|
-
</xsl:choose>
|
806
|
-
<xsl:apply-templates/>
|
807
|
-
</h3>
|
808
|
-
</xsl:otherwise>
|
809
|
-
</xsl:choose>
|
810
|
-
</xsl:template>
|
811
|
-
<!-->
|
812
|
-
<xsl:template match="head">
|
813
|
-
<h4><xsl:apply-templates/></h4>
|
814
|
-
</xsl:template>
|
815
|
-
-->
|
816
|
-
|
817
|
-
<!-- Digital Archival Object -->
|
818
|
-
<xsl:template match="daogrp">
|
819
|
-
<xsl:choose>
|
820
|
-
<xsl:when test="parent::archdesc">
|
821
|
-
<h3><xsl:call-template name="anchor"/>
|
822
|
-
<xsl:choose>
|
823
|
-
<xsl:when test="@ns2:title">
|
824
|
-
<xsl:value-of select="@ns2:title"/>
|
825
|
-
</xsl:when>
|
826
|
-
<xsl:otherwise>
|
827
|
-
Digital Archival Object
|
828
|
-
</xsl:otherwise>
|
829
|
-
</xsl:choose>
|
830
|
-
</h3>
|
831
|
-
</xsl:when>
|
832
|
-
<xsl:otherwise>
|
833
|
-
<h4><xsl:call-template name="anchor"/>
|
834
|
-
<xsl:choose>
|
835
|
-
<xsl:when test="@ns2:title">
|
836
|
-
<xsl:value-of select="@ns2:title"/>
|
837
|
-
</xsl:when>
|
838
|
-
<xsl:otherwise>
|
839
|
-
Digital Archival Object
|
840
|
-
</xsl:otherwise>
|
841
|
-
</xsl:choose>
|
842
|
-
</h4>
|
843
|
-
</xsl:otherwise>
|
844
|
-
</xsl:choose>
|
845
|
-
<xsl:apply-templates/>
|
846
|
-
</xsl:template>
|
847
|
-
<xsl:template match="dao">
|
848
|
-
<xsl:choose>
|
849
|
-
<xsl:when test="child::*">
|
850
|
-
<xsl:apply-templates/>
|
851
|
-
<a href="{@ns2:href}">
|
852
|
-
[<xsl:value-of select="@ns2:href"/>]
|
853
|
-
</a>
|
854
|
-
</xsl:when>
|
855
|
-
<xsl:otherwise>
|
856
|
-
<a href="{@ns2:href}">
|
857
|
-
<xsl:value-of select="@ns2:href"/>
|
858
|
-
</a>
|
859
|
-
</xsl:otherwise>
|
860
|
-
</xsl:choose>
|
861
|
-
</xsl:template>
|
862
|
-
<xsl:template match="daoloc">
|
863
|
-
<a href="{@ns2:href}">
|
864
|
-
<xsl:value-of select="@ns2:title"/>
|
865
|
-
</a>
|
866
|
-
</xsl:template>
|
867
|
-
|
868
|
-
<!--Formats a simple table. The width of each column is defined by the colwidth attribute in a colspec element.-->
|
869
|
-
<xsl:template match="table">
|
870
|
-
<xsl:for-each select="tgroup">
|
871
|
-
<table>
|
872
|
-
<tr>
|
873
|
-
<xsl:for-each select="colspec">
|
874
|
-
<td width="{@colwidth}"/>
|
875
|
-
</xsl:for-each>
|
876
|
-
</tr>
|
877
|
-
<xsl:for-each select="thead">
|
878
|
-
<xsl:for-each select="row">
|
879
|
-
<tr>
|
880
|
-
<xsl:for-each select="entry">
|
881
|
-
<td valign="top">
|
882
|
-
<strong>
|
883
|
-
<xsl:value-of select="."/>
|
884
|
-
</strong>
|
885
|
-
</td>
|
886
|
-
</xsl:for-each>
|
887
|
-
</tr>
|
888
|
-
</xsl:for-each>
|
889
|
-
</xsl:for-each>
|
890
|
-
<xsl:for-each select="tbody">
|
891
|
-
<xsl:for-each select="row">
|
892
|
-
<tr>
|
893
|
-
<xsl:for-each select="entry">
|
894
|
-
<td valign="top">
|
895
|
-
<xsl:value-of select="."/>
|
896
|
-
</td>
|
897
|
-
</xsl:for-each>
|
898
|
-
</tr>
|
899
|
-
</xsl:for-each>
|
900
|
-
</xsl:for-each>
|
901
|
-
</table>
|
902
|
-
</xsl:for-each>
|
903
|
-
</xsl:template>
|
904
|
-
<!--
|
905
|
-
<xsl:template match="unitdate">
|
906
|
-
<xsl:if test="preceding-sibling::*"> </xsl:if>
|
907
|
-
<xsl:choose>
|
908
|
-
<xsl:when test="@type = 'bulk'">
|
909
|
-
(<xsl:apply-templates/>)
|
910
|
-
</xsl:when>
|
911
|
-
<xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
|
912
|
-
</xsl:choose>
|
913
|
-
</xsl:template>
|
914
|
-
-->
|
915
|
-
<xsl:template match="date">
|
916
|
-
<xsl:apply-templates/>
|
917
|
-
</xsl:template>
|
918
|
-
<!--
|
919
|
-
<xsl:template match="unittitle">
|
920
|
-
<xsl:choose>
|
921
|
-
<xsl:when test="child::unitdate[@type='bulk']">
|
922
|
-
<xsl:apply-templates select="node()[not(self::unitdate[@type='bulk'])]"/>
|
923
|
-
<xsl:apply-templates select="date[@type='bulk']"/>
|
924
|
-
</xsl:when>
|
925
|
-
<xsl:otherwise>
|
926
|
-
<xsl:apply-templates/>
|
927
|
-
</xsl:otherwise>
|
928
|
-
</xsl:choose>
|
929
|
-
</xsl:template>
|
930
|
-
-->
|
931
|
-
<!-- Following five templates output chronlist and children in a table -->
|
932
|
-
<xsl:template match="chronlist">
|
933
|
-
<table class="chronlist">
|
934
|
-
<xsl:apply-templates/>
|
935
|
-
</table>
|
936
|
-
</xsl:template>
|
937
|
-
<xsl:template match="chronlist/listhead">
|
938
|
-
<tr>
|
939
|
-
<th>
|
940
|
-
<xsl:apply-templates select="head01"/>
|
941
|
-
</th>
|
942
|
-
<th>
|
943
|
-
<xsl:apply-templates select="head02"/>
|
944
|
-
</th>
|
945
|
-
</tr>
|
946
|
-
</xsl:template>
|
947
|
-
<xsl:template match="chronlist/head">
|
948
|
-
<tr>
|
949
|
-
<th colspan="2">
|
950
|
-
<xsl:apply-templates/>
|
951
|
-
</th>
|
952
|
-
</tr>
|
953
|
-
</xsl:template>
|
954
|
-
<xsl:template match="chronitem">
|
955
|
-
<tr>
|
956
|
-
<xsl:attribute name="class">
|
957
|
-
<xsl:choose>
|
958
|
-
<xsl:when test="(position() mod 2 = 0)">odd</xsl:when>
|
959
|
-
<xsl:otherwise>even</xsl:otherwise>
|
960
|
-
</xsl:choose>
|
961
|
-
</xsl:attribute>
|
962
|
-
<td><xsl:apply-templates select="date"/></td>
|
963
|
-
<td><xsl:apply-templates select="descendant::event"/></td>
|
964
|
-
</tr>
|
965
|
-
</xsl:template>
|
966
|
-
<xsl:template match="event">
|
967
|
-
<xsl:choose>
|
968
|
-
<xsl:when test="following-sibling::*">
|
969
|
-
<xsl:apply-templates/><br/>
|
970
|
-
</xsl:when>
|
971
|
-
<xsl:otherwise>
|
972
|
-
<xsl:apply-templates/>
|
973
|
-
</xsl:otherwise>
|
974
|
-
</xsl:choose>
|
975
|
-
|
976
|
-
</xsl:template>
|
977
|
-
<!-- Output for a variety of list types -->
|
978
|
-
<xsl:template match="list">
|
979
|
-
<xsl:if test="head"><h4><xsl:value-of select="head"/></h4></xsl:if>
|
980
|
-
<xsl:choose>
|
981
|
-
<xsl:when test="descendant::defitem">
|
982
|
-
<dl>
|
983
|
-
<xsl:apply-templates select="defitem"/>
|
984
|
-
</dl>
|
985
|
-
</xsl:when>
|
986
|
-
<xsl:otherwise>
|
987
|
-
<xsl:choose>
|
988
|
-
<xsl:when test="@type = 'ordered'">
|
989
|
-
<ol>
|
990
|
-
<xsl:attribute name="class">
|
991
|
-
<xsl:value-of select="@numeration"/>
|
992
|
-
</xsl:attribute>
|
993
|
-
<xsl:apply-templates/>
|
994
|
-
</ol>
|
995
|
-
</xsl:when>
|
996
|
-
<xsl:when test="@numeration">
|
997
|
-
<ol>
|
998
|
-
<xsl:attribute name="class">
|
999
|
-
<xsl:value-of select="@numeration"/>
|
1000
|
-
</xsl:attribute>
|
1001
|
-
<xsl:apply-templates/>
|
1002
|
-
</ol>
|
1003
|
-
</xsl:when>
|
1004
|
-
<xsl:when test="@type='simple'">
|
1005
|
-
<ul>
|
1006
|
-
<xsl:attribute name="class">simple</xsl:attribute>
|
1007
|
-
<xsl:apply-templates select="child::*[not(head)]"/>
|
1008
|
-
</ul>
|
1009
|
-
</xsl:when>
|
1010
|
-
<xsl:otherwise>
|
1011
|
-
<ul>
|
1012
|
-
<xsl:apply-templates/>
|
1013
|
-
</ul>
|
1014
|
-
</xsl:otherwise>
|
1015
|
-
</xsl:choose>
|
1016
|
-
</xsl:otherwise>
|
1017
|
-
</xsl:choose>
|
1018
|
-
</xsl:template>
|
1019
|
-
<xsl:template match="list/head"/>
|
1020
|
-
<xsl:template match="list/item">
|
1021
|
-
<li><xsl:apply-templates/></li>
|
1022
|
-
</xsl:template>
|
1023
|
-
<xsl:template match="defitem">
|
1024
|
-
<dt><xsl:apply-templates select="label"/></dt>
|
1025
|
-
<dd><xsl:apply-templates select="item"/></dd>
|
1026
|
-
</xsl:template>
|
1027
|
-
|
1028
|
-
<!-- Formats list as tabel if list has listhead element -->
|
1029
|
-
<xsl:template match="list[child::listhead]">
|
1030
|
-
<table>
|
1031
|
-
<tr>
|
1032
|
-
<th><xsl:value-of select="listhead/head01"/></th>
|
1033
|
-
<th><xsl:value-of select="listhead/head02"/></th>
|
1034
|
-
</tr>
|
1035
|
-
<xsl:for-each select="defitem">
|
1036
|
-
<tr>
|
1037
|
-
<td><xsl:apply-templates select="label"/></td>
|
1038
|
-
<td><xsl:apply-templates select="item"/></td>
|
1039
|
-
</tr>
|
1040
|
-
</xsl:for-each>
|
1041
|
-
</table>
|
1042
|
-
</xsl:template>
|
1043
|
-
<!-- Formats notestmt and notes -->
|
1044
|
-
<xsl:template match="notestmt">
|
1045
|
-
<h4>Note</h4>
|
1046
|
-
<xsl:apply-templates/>
|
1047
|
-
</xsl:template>
|
1048
|
-
<!--
|
1049
|
-
<xsl:template match="note">
|
1050
|
-
<xsl:choose>
|
1051
|
-
<xsl:when test="parent::notestmt">
|
1052
|
-
<xsl:apply-templates/>
|
1053
|
-
</xsl:when>
|
1054
|
-
<xsl:otherwise>
|
1055
|
-
<xsl:choose>
|
1056
|
-
<xsl:when test="@label"><h4><xsl:value-of select="@label"/></h4><xsl:apply-templates/></xsl:when>
|
1057
|
-
<xsl:otherwise><h4>Note</h4><xsl:apply-templates/></xsl:otherwise>
|
1058
|
-
</xsl:choose>
|
1059
|
-
</xsl:otherwise>
|
1060
|
-
</xsl:choose>
|
1061
|
-
</xsl:template>
|
1062
|
-
-->
|
1063
|
-
|
1064
|
-
<!-- Child elements that should display as paragraphs-->
|
1065
|
-
<xsl:template match="legalstatus">
|
1066
|
-
<p><xsl:apply-templates/></p>
|
1067
|
-
</xsl:template>
|
1068
|
-
<!-- Puts a space between sibling elements -->
|
1069
|
-
<!--
|
1070
|
-
<xsl:template match="child::*">
|
1071
|
-
<xsl:if test="preceding-sibling::*"> </xsl:if>
|
1072
|
-
<xsl:apply-templates/>
|
1073
|
-
</xsl:template>
|
1074
|
-
-->
|
1075
|
-
<!-- Generic text display elements -->
|
1076
|
-
<!--
|
1077
|
-
<xsl:template match="p">
|
1078
|
-
<p><xsl:apply-templates/></p>
|
1079
|
-
</xsl:template>
|
1080
|
-
-->
|
1081
|
-
<xsl:template match="lb"><br/></xsl:template>
|
1082
|
-
<xsl:template match="blockquote">
|
1083
|
-
<blockquote><xsl:apply-templates/></blockquote>
|
1084
|
-
</xsl:template>
|
1085
|
-
<xsl:template match="emph"><em><xsl:apply-templates/></em></xsl:template>
|
1086
|
-
|
1087
|
-
<!--Render elements -->
|
1088
|
-
<xsl:template match="*[@render = 'bold'] | *[@altrender = 'bold'] ">
|
1089
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><strong><xsl:apply-templates/></strong>
|
1090
|
-
</xsl:template>
|
1091
|
-
<xsl:template match="*[@render = 'bolddoublequote'] | *[@altrender = 'bolddoublequote']">
|
1092
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><strong>"<xsl:apply-templates/>"</strong>
|
1093
|
-
</xsl:template>
|
1094
|
-
<xsl:template match="*[@render = 'boldsinglequote'] | *[@altrender = 'boldsinglequote']">
|
1095
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><strong>'<xsl:apply-templates/>'</strong>
|
1096
|
-
</xsl:template>
|
1097
|
-
<xsl:template match="*[@render = 'bolditalic'] | *[@altrender = 'bolditalic']">
|
1098
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><strong><em><xsl:apply-templates/></em></strong>
|
1099
|
-
</xsl:template>
|
1100
|
-
<xsl:template match="*[@render = 'boldsmcaps'] | *[@altrender = 'boldsmcaps']">
|
1101
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><strong><span class="smcaps"><xsl:apply-templates/></span></strong>
|
1102
|
-
</xsl:template>
|
1103
|
-
<xsl:template match="*[@render = 'boldunderline'] | *[@altrender = 'boldunderline']">
|
1104
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><strong><span class="underline"><xsl:apply-templates/></span></strong>
|
1105
|
-
</xsl:template>
|
1106
|
-
<xsl:template match="*[@render = 'doublequote'] | *[@altrender = 'doublequote']">
|
1107
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if>"<xsl:apply-templates/>"
|
1108
|
-
</xsl:template>
|
1109
|
-
<xsl:template match="*[@render = 'italic'] | *[@altrender = 'italic']">
|
1110
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><em><xsl:apply-templates/></em>
|
1111
|
-
</xsl:template>
|
1112
|
-
<xsl:template match="*[@render = 'singlequote'] | *[@altrender = 'singlequote']">
|
1113
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if>'<xsl:apply-templates/>'
|
1114
|
-
</xsl:template>
|
1115
|
-
<xsl:template match="*[@render = 'smcaps'] | *[@altrender = 'smcaps']">
|
1116
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><span class="smcaps"><xsl:apply-templates/></span>
|
1117
|
-
</xsl:template>
|
1118
|
-
<xsl:template match="*[@render = 'sub'] | *[@altrender = 'sub']">
|
1119
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><sub><xsl:apply-templates/></sub>
|
1120
|
-
</xsl:template>
|
1121
|
-
<xsl:template match="*[@render = 'super'] | *[@altrender = 'super']">
|
1122
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><sup><xsl:apply-templates/></sup>
|
1123
|
-
</xsl:template>
|
1124
|
-
<xsl:template match="*[@render = 'underline'] | *[@altrender = 'underline']">
|
1125
|
-
<xsl:if test="preceding-sibling::*">  </xsl:if><span class="underline"><xsl:apply-templates/></span>
|
1126
|
-
</xsl:template>
|
1127
|
-
<!--
|
1128
|
-
<value>nonproport</value>
|
1129
|
-
-->
|
1130
|
-
<!-- *** Begin templates for Container List *** -->
|
1131
|
-
<xsl:template match="archdesc/dsc">
|
1132
|
-
<xsl:choose>
|
1133
|
-
<xsl:when test="head">
|
1134
|
-
<xsl:apply-templates select="head"/>
|
1135
|
-
</xsl:when>
|
1136
|
-
<xsl:otherwise>
|
1137
|
-
<h3><xsl:call-template name="anchor"/>Collection Inventory</h3>
|
1138
|
-
</xsl:otherwise>
|
1139
|
-
</xsl:choose>
|
1140
|
-
|
1141
|
-
<table class="containerList">
|
1142
|
-
<xsl:apply-templates select="*[not(self::head)]"/>
|
1143
|
-
<tr>
|
1144
|
-
<td/>
|
1145
|
-
<td style="width: 15%;"/>
|
1146
|
-
<td style="width: 15%;"/>
|
1147
|
-
<td style="width: 15%;"/>
|
1148
|
-
</tr>
|
1149
|
-
|
1150
|
-
</table>
|
1151
|
-
</xsl:template>
|
1152
|
-
|
1153
|
-
<!--This section of the stylesheet creates a div for each c01 or c
|
1154
|
-
It then recursively processes each child component of the c01 by
|
1155
|
-
calling the clevel template. -->
|
1156
|
-
<xsl:template match="c" mode="detail">
|
1157
|
-
<xsl:if test="@level='Deelarchief' or @level='Afdeling' or @level='Onderafdeling' or @level='Rubriek' or @level='Subrubriek'">
|
1158
|
-
<!--<xsl:if test="@level='Afdeling' or @level='Onderafdeling' or @level='Rubriek' or @level='Subrubriek' or @level='Deelarchief'">-->
|
1159
|
-
<a><xsl:attribute name="name">lnk_<xsl:value-of select="@id"/></xsl:attribute></a>
|
1160
|
-
</xsl:if>
|
1161
|
-
<xsl:for-each select="did">
|
1162
|
-
<xsl:if test="../@level='Deelarchief' or ../@level='Afdeling' or ../@level='Onderafdeling' or ../@level='Rubriek' or ../@level='Subrubriek' or ../@level='Reeks' or ../@level='Deelreeks'">
|
1163
|
-
<table cellspacing="0" cellpadding="0">
|
1164
|
-
<xsl:attribute name="class"><xsl:value-of select="../@level"/></xsl:attribute>
|
1165
|
-
<xsl:if test="unittitle[@label='Titel']/p/text()">
|
1166
|
-
<tr>
|
1167
|
-
|
1168
|
-
<xsl:if test="string(unitid)">
|
1169
|
-
<td valign="top">
|
1170
|
-
<xsl:if test="not(contains(../../../@level,'meervoudige beschrijving'))">
|
1171
|
-
<b><a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="../@id"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1172
|
-
<xsl:value-of select="unitid"/></a><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </b></xsl:if>
|
1173
|
-
<xsl:if test="(contains(../../../@level,'meervoudige beschrijving'))">
|
1174
|
-
<a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="../@id"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1175
|
-
<xsl:value-of select="unitid"/></a><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </xsl:if>
|
1176
|
-
</td>
|
1177
|
-
<td>
|
1178
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
1179
|
-
<xsl:value-of select="'"'"/><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/><xsl:value-of select="'"'"/><xsl:text>. </xsl:text></xsl:if>
|
1180
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/>
|
1181
|
-
<br/>
|
1182
|
-
</td>
|
1183
|
-
</xsl:if>
|
1184
|
-
<xsl:if test="not(string(unitid))">
|
1185
|
-
<td valign="top">
|
1186
|
-
<b>
|
1187
|
-
<a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="../@id"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1188
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
1189
|
-
<xsl:value-of select="'"'"/><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/><xsl:value-of select="'"'"/><xsl:text>. </xsl:text></xsl:if>
|
1190
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/>
|
1191
|
-
</a>
|
1192
|
-
</b>
|
1193
|
-
<br/>
|
1194
|
-
</td>
|
1195
|
-
</xsl:if>
|
1196
|
-
</tr>
|
1197
|
-
</xsl:if>
|
1198
|
-
<xsl:if test="../@level = 'Subrubriek' or ../@level = 'Reeks' or ../@level = 'Deelreeks'">
|
1199
|
-
|
1200
|
-
<xsl:if test="unitdate[@label='Datum']/p/text()">
|
1201
|
-
<tr>
|
1202
|
-
<xsl:if test="string(unitid)">
|
1203
|
-
<td valign="top"> </td>
|
1204
|
-
</xsl:if>
|
1205
|
-
<td valign="top">
|
1206
|
-
<b>
|
1207
|
-
<xsl:for-each select="unitdate[@label='Datum']/p/text()">
|
1208
|
-
<xsl:value-of select="."/><xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1209
|
-
</xsl:for-each>
|
1210
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
1211
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
1212
|
-
<xsl:value-of select="."/>
|
1213
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1214
|
-
<xsl:if test="position()=last()"><xsl:text>. </xsl:text></xsl:if>
|
1215
|
-
</xsl:for-each>
|
1216
|
-
</xsl:if>
|
1217
|
-
</b>
|
1218
|
-
</td>
|
1219
|
-
</tr>
|
1220
|
-
</xsl:if>
|
1221
|
-
</xsl:if>
|
1222
|
-
|
1223
|
-
<xsl:if test="dao">
|
1224
|
-
<tr>
|
1225
|
-
<xsl:if test="string(unitid)">
|
1226
|
-
<td valign="top"> </td>
|
1227
|
-
</xsl:if>
|
1228
|
-
|
1229
|
-
<td valign="top">
|
1230
|
-
<xsl:for-each select="dao">
|
1231
|
-
<a>
|
1232
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
|
1233
|
-
<xsl:attribute name="target">_blank</xsl:attribute>
|
1234
|
-
<xsl:value-of select="@title"/>
|
1235
|
-
</a>
|
1236
|
-
<xsl:if test="position()!=last()"><br/></xsl:if>
|
1237
|
-
</xsl:for-each>
|
1238
|
-
</td>
|
1239
|
-
</tr>
|
1240
|
-
</xsl:if>
|
1241
|
-
|
1242
|
-
<xsl:if test="not(../@level = 'Subrubriek' or ../@level = 'Reeks' or ../@level = 'Deelreeks')">
|
1243
|
-
<xsl:if test="physfacet/p/text()">
|
1244
|
-
<tr>
|
1245
|
-
<xsl:if test="string(unitid)">
|
1246
|
-
<td valign="top"> </td>
|
1247
|
-
</xsl:if>
|
1248
|
-
<td valign="top">
|
1249
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
1250
|
-
<xsl:value-of select="."/>
|
1251
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1252
|
-
<xsl:if test="position()=last()"><xsl:text>. </xsl:text></xsl:if>
|
1253
|
-
</xsl:for-each>
|
1254
|
-
</td>
|
1255
|
-
</tr>
|
1256
|
-
</xsl:if>
|
1257
|
-
</xsl:if>
|
1258
|
-
<xsl:if test="physdesc/extent/p/text()">
|
1259
|
-
<tr>
|
1260
|
-
<xsl:if test="string(unitid)">
|
1261
|
-
<td valign="top"> </td>
|
1262
|
-
</xsl:if>
|
1263
|
-
<td valign="top">
|
1264
|
-
<xsl:for-each select="physdesc/extent/p/text()">
|
1265
|
-
<xsl:value-of select="."/>
|
1266
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1267
|
-
</xsl:for-each>
|
1268
|
-
</td>
|
1269
|
-
</tr>
|
1270
|
-
</xsl:if>
|
1271
|
-
<xsl:for-each select="relatedmaterial/archref">
|
1272
|
-
<tr>
|
1273
|
-
<xsl:if test="string(unitid)">
|
1274
|
-
<td valign="top"> </td>
|
1275
|
-
</xsl:if>
|
1276
|
-
<td>
|
1277
|
-
<xsl:if test="string(note)">[<xsl:value-of select="note"/>] : </xsl:if>
|
1278
|
-
<a>
|
1279
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1280
|
-
<xsl:value-of select="unittitle"/>
|
1281
|
-
</a>
|
1282
|
-
</td>
|
1283
|
-
</tr>
|
1284
|
-
</xsl:for-each>
|
1285
|
-
<xsl:if test="controlaccess">
|
1286
|
-
<xsl:if test="string(unitid)">
|
1287
|
-
<tr><td colspan="2"><br/><b><a name="DISP_TITEL_7_4_C"><xsl:copy-of select="$DISP_TITEL_7_4"/></a></b><br/></td></tr>
|
1288
|
-
</xsl:if>
|
1289
|
-
<xsl:if test="not(string(unitid))">
|
1290
|
-
<tr><td><br/><b><a name="DISP_TITEL_7_4_C"><xsl:copy-of select="$DISP_TITEL_7_4"/></a></b><br/></td></tr>
|
1291
|
-
</xsl:if>
|
1292
|
-
<xsl:for-each select="controlaccess/controlaccess">
|
1293
|
-
<tr>
|
1294
|
-
<td><br/><xsl:value-of select="head"/><br/></td></tr>
|
1295
|
-
<xsl:if test="head !='Subjects' and head !='Families'">
|
1296
|
-
<xsl:for-each select="extref">
|
1297
|
-
<tr>
|
1298
|
-
<td>
|
1299
|
-
<xsl:if test="string(@href)">
|
1300
|
-
<a>
|
1301
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
|
1302
|
-
<xsl:attribute name="target">_blank</xsl:attribute>
|
1303
|
-
<xsl:value-of select="*/."/>
|
1304
|
-
</a>
|
1305
|
-
</xsl:if>
|
1306
|
-
<xsl:if test="not(string(@href))">
|
1307
|
-
<xsl:value-of select="*/."/>
|
1308
|
-
</xsl:if>
|
1309
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1310
|
-
</td>
|
1311
|
-
</tr>
|
1312
|
-
</xsl:for-each>
|
1313
|
-
</xsl:if>
|
1314
|
-
<xsl:if test="head ='Subjects'">
|
1315
|
-
<xsl:for-each select="subject">
|
1316
|
-
<tr><td><xsl:value-of select="."/></td></tr>
|
1317
|
-
</xsl:for-each>
|
1318
|
-
</xsl:if>
|
1319
|
-
<xsl:if test="head ='Families'">
|
1320
|
-
<xsl:for-each select="famname">
|
1321
|
-
<tr><td><xsl:value-of select="."/></td></tr>
|
1322
|
-
</xsl:for-each>
|
1323
|
-
</xsl:if>
|
1324
|
-
</xsl:for-each>
|
1325
|
-
</xsl:if>
|
1326
|
-
</table>
|
1327
|
-
<br/>
|
1328
|
-
</xsl:if>
|
1329
|
-
<xsl:if test="../@level='Reeks - meervoudige beschrijving' or ../@level='Deelreeks - meervoudige beschrijving' or ../@level='Bestanddeel' or ../@level='Bestanddeel - meervoudige beschrijving' or ../@level='Subbestanddeel' or ../@level='Subbestanddeel - meervoudige beschrijving' or ../@level='Stuk'">
|
1330
|
-
<table cellspacing="0" cellpadding="0">
|
1331
|
-
<xsl:attribute name="class"><xsl:value-of select="../@level"/></xsl:attribute>
|
1332
|
-
|
1333
|
-
<tr>
|
1334
|
-
|
1335
|
-
<xsl:if test="string(unitid)">
|
1336
|
-
<td valign="top">
|
1337
|
-
<xsl:if test="not(contains(../../../@level,'meervoudige beschrijving'))">
|
1338
|
-
<b><a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="../@id"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1339
|
-
<xsl:value-of select="unitid"/></a><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </b></xsl:if>
|
1340
|
-
<xsl:if test="(contains(../../../@level,'meervoudige beschrijving'))">
|
1341
|
-
<a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="../@id"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1342
|
-
<xsl:value-of select="unitid"/></a><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </xsl:if>
|
1343
|
-
</td>
|
1344
|
-
<td>
|
1345
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
1346
|
-
<xsl:value-of select="'"'"/><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/><xsl:value-of select="'"'"/><xsl:text>. </xsl:text></xsl:if>
|
1347
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/>
|
1348
|
-
<br/>
|
1349
|
-
</td>
|
1350
|
-
</xsl:if>
|
1351
|
-
<xsl:if test="not(string(unitid))">
|
1352
|
-
<td valign="top">
|
1353
|
-
<b>
|
1354
|
-
<a><xsl:attribute name="href"><xsl:value-of select="$XML_SCOPE_OPAC"/><xsl:value-of select="../@id"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1355
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
1356
|
-
<xsl:value-of select="'"'"/><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/><xsl:value-of select="'"'"/><xsl:text>. </xsl:text></xsl:if>
|
1357
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/>
|
1358
|
-
</a>
|
1359
|
-
</b>
|
1360
|
-
<br/>
|
1361
|
-
</td>
|
1362
|
-
</xsl:if>
|
1363
|
-
</tr>
|
1364
|
-
|
1365
|
-
<xsl:if test="unitdate[@label='Datum']/p/text()">
|
1366
|
-
<tr>
|
1367
|
-
<xsl:if test="string(unitid)">
|
1368
|
-
<td valign="top"> </td>
|
1369
|
-
</xsl:if>
|
1370
|
-
<td valign="top">
|
1371
|
-
<xsl:for-each select="unitdate[@label='Datum']/p/text()">
|
1372
|
-
<xsl:value-of select="."/>
|
1373
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1374
|
-
<xsl:if test="position()=last()"><xsl:if test="substring(.,string-length(.),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </xsl:if>
|
1375
|
-
</xsl:for-each>
|
1376
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
1377
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
1378
|
-
<xsl:value-of select="."/>
|
1379
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1380
|
-
<xsl:if test="position()=last()"><xsl:text>. </xsl:text></xsl:if>
|
1381
|
-
</xsl:for-each>
|
1382
|
-
</xsl:if>
|
1383
|
-
</td>
|
1384
|
-
</tr>
|
1385
|
-
</xsl:if>
|
1386
|
-
|
1387
|
-
<xsl:if test="not(unitdate[@label='Datum']/p/text())">
|
1388
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
1389
|
-
<tr>
|
1390
|
-
<xsl:if test="string(unitid)">
|
1391
|
-
<td valign="top"> </td>
|
1392
|
-
</xsl:if>
|
1393
|
-
<td valign="top">
|
1394
|
-
|
1395
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
1396
|
-
<xsl:value-of select="."/>
|
1397
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1398
|
-
<xsl:if test="position()=last()"><xsl:text>. </xsl:text></xsl:if>
|
1399
|
-
</xsl:for-each>
|
1400
|
-
</td>
|
1401
|
-
</tr>
|
1402
|
-
</xsl:if>
|
1403
|
-
</xsl:if>
|
1404
|
-
|
1405
|
-
<xsl:if test="dao">
|
1406
|
-
<tr>
|
1407
|
-
<xsl:if test="string(unitid)">
|
1408
|
-
<td valign="top"> </td>
|
1409
|
-
</xsl:if>
|
1410
|
-
|
1411
|
-
<td valign="top">
|
1412
|
-
<xsl:for-each select="dao">
|
1413
|
-
<a>
|
1414
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
|
1415
|
-
<xsl:attribute name="target">_blank</xsl:attribute>
|
1416
|
-
<xsl:value-of select="@title"/>
|
1417
|
-
</a>
|
1418
|
-
<xsl:if test="position()!=last()"><br/></xsl:if>
|
1419
|
-
</xsl:for-each>
|
1420
|
-
</td>
|
1421
|
-
</tr>
|
1422
|
-
</xsl:if>
|
1423
|
-
<xsl:if test="physdesc/extent/p/text()">
|
1424
|
-
<tr>
|
1425
|
-
<xsl:if test="string(unitid)">
|
1426
|
-
<td valign="top"> </td>
|
1427
|
-
</xsl:if>
|
1428
|
-
<td valign="top">
|
1429
|
-
<xsl:for-each select="physdesc/extent/p/text()">
|
1430
|
-
<xsl:value-of select="."/>
|
1431
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1432
|
-
</xsl:for-each>
|
1433
|
-
</td>
|
1434
|
-
</tr>
|
1435
|
-
</xsl:if>
|
1436
|
-
|
1437
|
-
<xsl:if test="scopecontent[@label='Inhoud']/p/text()">
|
1438
|
-
<tr>
|
1439
|
-
<xsl:if test="string(unitid)">
|
1440
|
-
<td valign="top"> </td>
|
1441
|
-
</xsl:if>
|
1442
|
-
<td valign="top">
|
1443
|
-
<xsl:for-each select="scopecontent[@label='Inhoud']/p/text()">
|
1444
|
-
<xsl:call-template name="substitute">
|
1445
|
-
<xsl:with-param name="string" select="." />
|
1446
|
-
</xsl:call-template>
|
1447
|
-
<xsl:if test="position()!=last()"><br/></xsl:if>
|
1448
|
-
</xsl:for-each>
|
1449
|
-
</td>
|
1450
|
-
</tr>
|
1451
|
-
</xsl:if>
|
1452
|
-
<xsl:for-each select="relatedmaterial/archref">
|
1453
|
-
<tr>
|
1454
|
-
<xsl:if test="string(unitid)">
|
1455
|
-
<td valign="top"> </td>
|
1456
|
-
</xsl:if>
|
1457
|
-
<td>
|
1458
|
-
|
1459
|
-
<xsl:if test="string(note)">[<xsl:value-of select="note"/>] : </xsl:if>
|
1460
|
-
<a>
|
1461
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
1462
|
-
<xsl:value-of select="unittitle"/>
|
1463
|
-
</a>
|
1464
|
-
</td>
|
1465
|
-
</tr>
|
1466
|
-
</xsl:for-each>
|
1467
|
-
<xsl:if test="controlaccess">
|
1468
|
-
<xsl:if test="string(unitid)">
|
1469
|
-
<tr><td colspan="2"><br/><b><a name="DISP_TITEL_7_4_C"><xsl:copy-of select="$DISP_TITEL_7_4"/></a></b><br/></td></tr>
|
1470
|
-
</xsl:if>
|
1471
|
-
<xsl:if test="not(string(unitid))">
|
1472
|
-
<tr><td><br/><b><a name="DISP_TITEL_7_4_C"><xsl:copy-of select="$DISP_TITEL_7_4"/></a></b><br/></td></tr>
|
1473
|
-
</xsl:if>
|
1474
|
-
|
1475
|
-
<xsl:for-each select="controlaccess/controlaccess">
|
1476
|
-
<tr><td><br/><xsl:value-of select="head"/><br/></td></tr>
|
1477
|
-
<xsl:if test="head !='Subjects' and head !='Families'">
|
1478
|
-
<xsl:for-each select="extref">
|
1479
|
-
<tr>
|
1480
|
-
<td>
|
1481
|
-
<xsl:if test="string(@href)">
|
1482
|
-
<a>
|
1483
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
|
1484
|
-
<xsl:attribute name="target">_blank</xsl:attribute>
|
1485
|
-
<xsl:value-of select="*/."/>
|
1486
|
-
</a>
|
1487
|
-
</xsl:if>
|
1488
|
-
<xsl:if test="not(string(@href))">
|
1489
|
-
<xsl:value-of select="*/."/>
|
1490
|
-
</xsl:if>
|
1491
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1492
|
-
</td>
|
1493
|
-
</tr>
|
1494
|
-
</xsl:for-each>
|
1495
|
-
</xsl:if>
|
1496
|
-
<xsl:if test="head ='Subjects'">
|
1497
|
-
<xsl:for-each select="subject">
|
1498
|
-
<tr><td><xsl:value-of select="."/></td></tr>
|
1499
|
-
</xsl:for-each>
|
1500
|
-
</xsl:if>
|
1501
|
-
<xsl:if test="head ='Families'">
|
1502
|
-
<xsl:for-each select="famname">
|
1503
|
-
<tr><td><xsl:value-of select="."/></td></tr>
|
1504
|
-
</xsl:for-each>
|
1505
|
-
</xsl:if>
|
1506
|
-
</xsl:for-each>
|
1507
|
-
</xsl:if>
|
1508
|
-
</table>
|
1509
|
-
<br/>
|
1510
|
-
</xsl:if>
|
1511
|
-
<xsl:apply-templates select="c" mode="detail"/>
|
1512
|
-
</xsl:for-each>
|
1513
|
-
</xsl:template>
|
1514
|
-
|
1515
|
-
<!--This is a named template that processes all c0* elements -->
|
1516
|
-
<xsl:template name="clevel">
|
1517
|
-
<!-- Establishes which level is being processed in order to provided indented displays.
|
1518
|
-
Indents handled by CSS margins-->
|
1519
|
-
<xsl:variable name="clevelMargin">c</xsl:variable>
|
1520
|
-
<!-- Establishes a class for even and odd rows in the table for color coding.
|
1521
|
-
Colors are Declared in the CSS. -->
|
1522
|
-
<xsl:variable name="colorClass">
|
1523
|
-
<xsl:choose>
|
1524
|
-
<xsl:when test="ancestor-or-self::*[@level='Bestanddeel' or @level='item']">
|
1525
|
-
<xsl:choose>
|
1526
|
-
<xsl:when test="(position() mod 2 = 0)">odd</xsl:when>
|
1527
|
-
<xsl:otherwise>even</xsl:otherwise>
|
1528
|
-
</xsl:choose>
|
1529
|
-
</xsl:when>
|
1530
|
-
</xsl:choose>
|
1531
|
-
</xsl:variable>
|
1532
|
-
<!-- Processes the all child elements of the c or c0* level -->
|
1533
|
-
<xsl:for-each select=".">
|
1534
|
-
<xsl:choose>
|
1535
|
-
<!--Formats Series and Groups -->
|
1536
|
-
<xsl:when test="@level='subcollection' or @level='subgrp' or @level='series'
|
1537
|
-
or @level='subseries' or @level='collection'or @level='Archief' or
|
1538
|
-
@level='recordgrp' or @level='subfonds' or @level='class' or (@level='otherlevel' and not(child::did/container))">
|
1539
|
-
<tr>
|
1540
|
-
<xsl:attribute name="class">
|
1541
|
-
<xsl:choose>
|
1542
|
-
<xsl:when test="@level='subcollection' or @level='subgrp' or @level='subseries' or @level='subfonds'">subseries</xsl:when>
|
1543
|
-
<xsl:otherwise>series</xsl:otherwise>
|
1544
|
-
</xsl:choose>
|
1545
|
-
</xsl:attribute>
|
1546
|
-
<xsl:choose>
|
1547
|
-
<xsl:when test="did/container">
|
1548
|
-
<td class="{$clevelMargin}">
|
1549
|
-
<xsl:choose>
|
1550
|
-
<xsl:when test="count(did/container) < 1">
|
1551
|
-
<xsl:attribute name="colspan">
|
1552
|
-
<xsl:text>4</xsl:text>
|
1553
|
-
</xsl:attribute>
|
1554
|
-
</xsl:when>
|
1555
|
-
<xsl:when test="count(did/container) =1">
|
1556
|
-
<xsl:attribute name="colspan">
|
1557
|
-
<xsl:text>3</xsl:text>
|
1558
|
-
</xsl:attribute>
|
1559
|
-
</xsl:when>
|
1560
|
-
<xsl:when test="count(did/container) = 2">
|
1561
|
-
<xsl:attribute name="colspan">
|
1562
|
-
<xsl:text>2</xsl:text>
|
1563
|
-
</xsl:attribute>
|
1564
|
-
</xsl:when>
|
1565
|
-
<xsl:otherwise/>
|
1566
|
-
</xsl:choose>
|
1567
|
-
<xsl:call-template name="anchor"/>
|
1568
|
-
<xsl:apply-templates select="did" mode="dsc"/>
|
1569
|
-
<xsl:apply-templates select="child::*[not(did) and not(self::did)]"/>
|
1570
|
-
</td>
|
1571
|
-
<xsl:for-each select="descendant::did[container][1]/container">
|
1572
|
-
<td class="containerHeader">
|
1573
|
-
<xsl:value-of select="@type"/><br/><xsl:value-of select="."/>
|
1574
|
-
</td>
|
1575
|
-
</xsl:for-each>
|
1576
|
-
</xsl:when>
|
1577
|
-
<xsl:otherwise>
|
1578
|
-
<td colspan="4" class="{$clevelMargin}">
|
1579
|
-
<xsl:call-template name="anchor"/>
|
1580
|
-
<xsl:apply-templates select="did" mode="dsc"/>
|
1581
|
-
<xsl:apply-templates select="child::*[not(did) and not(self::did)]"/>
|
1582
|
-
</td>
|
1583
|
-
</xsl:otherwise>
|
1584
|
-
</xsl:choose>
|
1585
|
-
</tr>
|
1586
|
-
</xsl:when>
|
1587
|
-
<!-- Items/Files-->
|
1588
|
-
<xsl:when test="@level='Bestanddeel' or @level='item' or (@level='otherlevel'and child::did/container)">
|
1589
|
-
<!-- Variables to for Conainer headings, used only if headings are different from preceding heading -->
|
1590
|
-
<xsl:variable name="container" select="string(did/container/@type)"/>
|
1591
|
-
<xsl:variable name="sibContainer" select="string(preceding-sibling::*[1]/did/container/@type)"/>
|
1592
|
-
<xsl:if test="$container != $sibContainer">
|
1593
|
-
<xsl:if test="did/container">
|
1594
|
-
<tr>
|
1595
|
-
<td class="title">
|
1596
|
-
<xsl:choose>
|
1597
|
-
<xsl:when test="count(did[container][1]/container) < 1">
|
1598
|
-
<xsl:attribute name="colspan">
|
1599
|
-
<xsl:text>4</xsl:text>
|
1600
|
-
</xsl:attribute>
|
1601
|
-
</xsl:when>
|
1602
|
-
<xsl:when test="count(did[container][1]/container) =1">
|
1603
|
-
<xsl:attribute name="colspan">
|
1604
|
-
<xsl:text>3</xsl:text>
|
1605
|
-
</xsl:attribute>
|
1606
|
-
</xsl:when>
|
1607
|
-
<xsl:when test="count(did[container][1]/container) = 2">
|
1608
|
-
<xsl:attribute name="colspan">
|
1609
|
-
<xsl:text>2</xsl:text>
|
1610
|
-
</xsl:attribute>
|
1611
|
-
</xsl:when>
|
1612
|
-
<xsl:otherwise/>
|
1613
|
-
</xsl:choose>
|
1614
|
-
<xsl:text/>
|
1615
|
-
</td>
|
1616
|
-
<xsl:for-each select="did/container">
|
1617
|
-
<td class="containerHeader">
|
1618
|
-
<xsl:value-of select="@type"/>
|
1619
|
-
</td>
|
1620
|
-
</xsl:for-each>
|
1621
|
-
</tr>
|
1622
|
-
</xsl:if>
|
1623
|
-
</xsl:if>
|
1624
|
-
<tr class="{$colorClass}">
|
1625
|
-
<td class="{$clevelMargin}">
|
1626
|
-
<xsl:choose>
|
1627
|
-
<xsl:when test="count(did/container) < 1">
|
1628
|
-
<xsl:attribute name="colspan">
|
1629
|
-
<xsl:text>4</xsl:text>
|
1630
|
-
</xsl:attribute>
|
1631
|
-
</xsl:when>
|
1632
|
-
<xsl:when test="count(did/container) =1">
|
1633
|
-
<xsl:attribute name="colspan">
|
1634
|
-
<xsl:text>3</xsl:text>
|
1635
|
-
</xsl:attribute>
|
1636
|
-
</xsl:when>
|
1637
|
-
<xsl:when test="count(did/container) = 2">
|
1638
|
-
<xsl:attribute name="colspan">
|
1639
|
-
<xsl:text>2</xsl:text>
|
1640
|
-
</xsl:attribute>
|
1641
|
-
</xsl:when>
|
1642
|
-
<xsl:otherwise/>
|
1643
|
-
</xsl:choose>
|
1644
|
-
<xsl:apply-templates select="did" mode="dsc"/>
|
1645
|
-
<xsl:apply-templates select="*[not(self::did) and
|
1646
|
-
not(self::c) and not(self::c02) and not(self::c03) and
|
1647
|
-
not(self::c04) and not(self::c05) and not(self::c06) and not(self::c07)
|
1648
|
-
and not(self::c08) and not(self::c09) and not(self::c10) and not(self::c11) and not(self::c12)]"/>
|
1649
|
-
</td>
|
1650
|
-
<!-- Containers -->
|
1651
|
-
<xsl:for-each select="did/container">
|
1652
|
-
<td class="container">
|
1653
|
-
<xsl:value-of select="."/>
|
1654
|
-
</td>
|
1655
|
-
</xsl:for-each>
|
1656
|
-
</tr>
|
1657
|
-
</xsl:when>
|
1658
|
-
<xsl:otherwise>
|
1659
|
-
<tr class="{$colorClass}">
|
1660
|
-
<td class="{$clevelMargin}" colspan="4">
|
1661
|
-
<xsl:apply-templates select="did" mode="dsc"/>
|
1662
|
-
<xsl:apply-templates select="*[not(self::did) and
|
1663
|
-
not(self::c) and not(self::c02) and not(self::c03) and
|
1664
|
-
not(self::c04) and not(self::c05) and not(self::c06) and not(self::c07)
|
1665
|
-
and not(self::c08) and not(self::c09) and not(self::c10) and not(self::c11) and not(self::c12)]"/>
|
1666
|
-
</td>
|
1667
|
-
</tr>
|
1668
|
-
</xsl:otherwise>
|
1669
|
-
</xsl:choose>
|
1670
|
-
</xsl:for-each>
|
1671
|
-
</xsl:template>
|
1672
|
-
|
1673
|
-
<xsl:template match="did" mode="dsc">
|
1674
|
-
<xsl:choose>
|
1675
|
-
<xsl:when test="../@level='subcollection' or ../@level='subgrp' or ../@level='series'
|
1676
|
-
or ../@level='subseries'or ../@level='collection'or ../@level='Archief' or
|
1677
|
-
../@level='recordgrp' or ../@level='subfonds'">
|
1678
|
-
<h4>
|
1679
|
-
<xsl:call-template name="component-did-core"/>
|
1680
|
-
</h4>
|
1681
|
-
</xsl:when>
|
1682
|
-
<!--Otherwise render the text in its normal font.-->
|
1683
|
-
<xsl:otherwise>
|
1684
|
-
<p><xsl:call-template name="component-did-core"/></p>
|
1685
|
-
</xsl:otherwise>
|
1686
|
-
</xsl:choose>
|
1687
|
-
</xsl:template>
|
1688
|
-
<xsl:template name="component-did-core">
|
1689
|
-
<!--Inserts unitid and a space if it exists in the markup.-->
|
1690
|
-
<xsl:if test="unitid">
|
1691
|
-
<xsl:apply-templates select="unitid"/>
|
1692
|
-
<xsl:text> </xsl:text>
|
1693
|
-
</xsl:if>
|
1694
|
-
<!--Inserts origination and a space if it exists in the markup.-->
|
1695
|
-
<xsl:if test="origination">
|
1696
|
-
<xsl:apply-templates select="origination"/>
|
1697
|
-
<xsl:text> </xsl:text>
|
1698
|
-
</xsl:if>
|
1699
|
-
<!--This choose statement selects between cases where unitdate is a child of unittitle and where it is a separate child of did.-->
|
1700
|
-
<xsl:choose>
|
1701
|
-
<!--This code processes the elements when unitdate is a child of unittitle.-->
|
1702
|
-
<xsl:when test="unittitle/unitdate">
|
1703
|
-
<xsl:apply-templates select="unittitle"/>
|
1704
|
-
</xsl:when>
|
1705
|
-
<!--This code process the elements when unitdate is not a child of untititle-->
|
1706
|
-
<xsl:otherwise>
|
1707
|
-
<xsl:apply-templates select="unittitle"/>
|
1708
|
-
<xsl:text> </xsl:text>
|
1709
|
-
<xsl:for-each select="unitdate[not(self::unitdate[@type='bulk'])]">
|
1710
|
-
<xsl:apply-templates/>
|
1711
|
-
<xsl:text> </xsl:text>
|
1712
|
-
</xsl:for-each>
|
1713
|
-
<xsl:for-each select="unitdate[@type = 'bulk']">
|
1714
|
-
(<xsl:apply-templates/>)
|
1715
|
-
</xsl:for-each>
|
1716
|
-
</xsl:otherwise>
|
1717
|
-
</xsl:choose>
|
1718
|
-
<xsl:if test="physdesc">
|
1719
|
-
<xsl:text> </xsl:text>
|
1720
|
-
<xsl:apply-templates select="physdesc"/>
|
1721
|
-
</xsl:if>
|
1722
|
-
</xsl:template>
|
1723
|
-
|
1724
|
-
<xsl:template match="archdesc/descgrp" mode="main">
|
1725
|
-
<xsl:if test="head=$TITEL_1">
|
1726
|
-
<a class="ech5" name="DISP_TITEL_1"><xsl:copy-of select="$DISP_TITEL_1"/></a>
|
1727
|
-
<br/>
|
1728
|
-
<a class="ech6" name="DISP_TITEL_1_1"><xsl:copy-of select="$DISP_TITEL_1_1"/></a>
|
1729
|
-
<p class="ech6nb"><xsl:apply-templates select="unitid/@repositorycode"/><br/>
|
1730
|
-
<xsl:apply-templates select="repository/corpname"/></p>
|
1731
|
-
<xsl:if test="unititle">
|
1732
|
-
<a class="ech6" name="DISP_TITEL_1_2"><xsl:copy-of select="$DISP_TITEL_1_2"/></a>
|
1733
|
-
<p class="ech6nb"><xsl:apply-templates select="unittitle"/></p>
|
1734
|
-
</xsl:if>
|
1735
|
-
<xsl:if test="unitdate">
|
1736
|
-
<a class="ech6" name="DISP_TITEL_1_3"><xsl:copy-of select="$DISP_TITEL_1_3"/></a>
|
1737
|
-
<p class="ech6nb"><xsl:apply-templates select="unitdate"/></p>
|
1738
|
-
</xsl:if>
|
1739
|
-
<xsl:if test="physdesc/extent[@label='Omvang']">
|
1740
|
-
<a class="ech6" name="DISP_TITEL_1_4"><xsl:copy-of select="$DISP_TITEL_1_4"/></a>
|
1741
|
-
<p class="ech6nb"><xsl:apply-templates select="physdesc/extent[@label='Omvang']"/></p>
|
1742
|
-
</xsl:if>
|
1743
|
-
<xsl:if test="physdesc/extent[@label='Opmerkingen']/p/text()">
|
1744
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_OPM"/></p>
|
1745
|
-
<p class="ech6nb"><xsl:apply-templates select="physdesc/extent[@label='Opmerkingen']"/></p>
|
1746
|
-
</xsl:if>
|
1747
|
-
<xsl:if test="physdesc/extent[@label='Aard archief']/p/text()">
|
1748
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_AARD"/></p>
|
1749
|
-
<p class="ech6nb"><xsl:apply-templates select="physdesc/extent[@label='Aard archief']"/></p>
|
1750
|
-
</xsl:if>
|
1751
|
-
<xsl:call-template name="returnTOC"/>
|
1752
|
-
</xsl:if>
|
1753
|
-
|
1754
|
-
|
1755
|
-
<xsl:if test="head=$TITEL_2">
|
1756
|
-
<a class="ech5" name="DISP_TITEL_2"><xsl:copy-of select="$DISP_TITEL_2"/></a>
|
1757
|
-
<br/>
|
1758
|
-
<xsl:if test="origination">
|
1759
|
-
<a class="ech6" name="DISP_TITEL_2_1"><xsl:copy-of select="$DISP_TITEL_2_1"/></a>
|
1760
|
-
<p class="ech6nb"><xsl:apply-templates select="origination/extref"/></p>
|
1761
|
-
</xsl:if>
|
1762
|
-
<xsl:if test="bioghist/p/text()">
|
1763
|
-
<a class="ech6" name="DISP_TITEL_2_2"><xsl:copy-of select="$DISP_TITEL_2_2"/></a>
|
1764
|
-
<p class="ech6nb"><xsl:apply-templates select="bioghist"/></p>
|
1765
|
-
</xsl:if>
|
1766
|
-
<xsl:if test="custodhist/p/text()">
|
1767
|
-
<a class="ech6" name="DISP_TITEL_2_3"><xsl:copy-of select="$DISP_TITEL_2_3"/></a>
|
1768
|
-
<p class="ech6nb"><xsl:apply-templates select="custodhist"/></p>
|
1769
|
-
</xsl:if>
|
1770
|
-
<xsl:if test="acqinfo/p/text()">
|
1771
|
-
<a class="ech6" name="DISP_TITEL_2_4"><xsl:copy-of select="$DISP_TITEL_2_4"/></a>
|
1772
|
-
<p class="ech6nb"><xsl:apply-templates select="acqinfo"/></p>
|
1773
|
-
</xsl:if>
|
1774
|
-
<xsl:call-template name="returnTOC"/>
|
1775
|
-
</xsl:if>
|
1776
|
-
<xsl:if test="head=$TITEL_3">
|
1777
|
-
<a class="ech5" name="DISP_TITEL_3"><xsl:copy-of select="$DISP_TITEL_3"/></a>
|
1778
|
-
<br/>
|
1779
|
-
<xsl:if test="scopecontent/head=$TITEL_3_1">
|
1780
|
-
<a class="ech6" name="DISP_TITEL_3_1"><xsl:copy-of select="$DISP_TITEL_3_1"/></a>
|
1781
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Bereik en inhoud']"/></p>
|
1782
|
-
<xsl:if test="scopecontent/scopecontent[@label='Geografische informatie']/p/text()">
|
1783
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_GEO"/></p>
|
1784
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Geografische informatie']"/></p>
|
1785
|
-
</xsl:if>
|
1786
|
-
<xsl:if test="scopecontent/scopecontent[@label='Collectie periode']/p/text()">
|
1787
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_COLL"/></p>
|
1788
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Collectie periode']"/></p>
|
1789
|
-
</xsl:if>
|
1790
|
-
<xsl:if test="scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']/p/text()">
|
1791
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_REL"/></p>
|
1792
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']"/></p>
|
1793
|
-
</xsl:if>
|
1794
|
-
</xsl:if>
|
1795
|
-
|
1796
|
-
<xsl:if test="appraisal/head=$TITEL_3_2">
|
1797
|
-
<a class="ech6" name="DISP_TITEL_3_2"><xsl:copy-of select="$DISP_TITEL_3_2"/></a>
|
1798
|
-
<p class="ech6nb"><xsl:apply-templates select="appraisal"/></p>
|
1799
|
-
</xsl:if>
|
1800
|
-
|
1801
|
-
<xsl:if test="accruals/head=$TITEL_3_3">
|
1802
|
-
<a class="ech6" name="DISP_TITEL_3_3"><xsl:copy-of select="$DISP_TITEL_3_3"/></a>
|
1803
|
-
<p class="ech6nb"><xsl:apply-templates select="accruals"/></p>
|
1804
|
-
</xsl:if>
|
1805
|
-
<xsl:if test="arrangement/head=$TITEL_3_4">
|
1806
|
-
<a class="ech6" name="DISP_TITEL_3_4"><xsl:copy-of select="$DISP_TITEL_3_4"/></a>
|
1807
|
-
<p class="ech6nb"><xsl:apply-templates select="arrangement"/></p>
|
1808
|
-
</xsl:if>
|
1809
|
-
<xsl:call-template name="returnTOC"/>
|
1810
|
-
</xsl:if>
|
1811
|
-
<xsl:if test="head=$TITEL_4">
|
1812
|
-
<a class="ech5" name="DISP_TITEL_4"><xsl:copy-of select="$DISP_TITEL_4"/></a>
|
1813
|
-
<br/>
|
1814
|
-
<xsl:if test="accessrestrict/head=$TITEL_4_1">
|
1815
|
-
<a class="ech6" name="DISP_TITEL_4_1"><xsl:copy-of select="$DISP_TITEL_4_1"/></a>
|
1816
|
-
<p class="ech6nb"><xsl:apply-templates select="accessrestrict"/></p>
|
1817
|
-
</xsl:if>
|
1818
|
-
<xsl:if test="userestrict/head=$TITEL_4_2">
|
1819
|
-
<a class="ech6" name="DISP_TITEL_4_2"><xsl:copy-of select="$DISP_TITEL_4_2"/></a>
|
1820
|
-
<p class="ech6nb"><xsl:apply-templates select="userestrict"/></p>
|
1821
|
-
</xsl:if>
|
1822
|
-
<xsl:if test="langmaterial/head=$TITEL_4_3">
|
1823
|
-
<a class="ech6" name="DISP_TITEL_4_3"><xsl:copy-of select="$DISP_TITEL_4_3"/></a>
|
1824
|
-
<p class="ech6nb"><xsl:apply-templates select="langmaterial"/></p>
|
1825
|
-
</xsl:if>
|
1826
|
-
<xsl:if test="phystech/head=$TITEL_4_4">
|
1827
|
-
<a class="ech6" name="DISP_TITEL_4_4"><xsl:copy-of select="$DISP_TITEL_4_4"/></a>
|
1828
|
-
<p class="ech6nb"><xsl:apply-templates select="phystech"/></p>
|
1829
|
-
</xsl:if>
|
1830
|
-
<!--
|
1831
|
-
<xsl:if test="otherfindaid/head=$TITEL_4_5">
|
1832
|
-
<a class="ech6" name="DISP_TITEL_4_5"><xsl:copy-of select="$DISP_TITEL_4_5"/></a>
|
1833
|
-
<p class="ech6nb"><xsl:apply-templates select="otherfindaid"/></p>
|
1834
|
-
</xsl:if>
|
1835
|
-
-->
|
1836
|
-
<xsl:call-template name="returnTOC"/>
|
1837
|
-
</xsl:if>
|
1838
|
-
|
1839
|
-
<xsl:if test="head=$TITEL_5">
|
1840
|
-
<a class="ech5" name="DISP_TITEL_5"><xsl:copy-of select="$DISP_TITEL_5"/></a>
|
1841
|
-
<br/>
|
1842
|
-
<xsl:if test="originalsloc/head=$TITEL_5_1">
|
1843
|
-
<a class="ech6" name="DISP_TITEL_5_1"><xsl:copy-of select="$DISP_TITEL_5_1"/></a>
|
1844
|
-
<p class="ech6nb"><xsl:apply-templates select="originalsloc"/></p>
|
1845
|
-
</xsl:if>
|
1846
|
-
<xsl:if test="altformavail/head=$TITEL_5_2">
|
1847
|
-
<a class="ech6" name="DISP_TITEL_5_2"><xsl:copy-of select="$DISP_TITEL_5_2"/></a>
|
1848
|
-
<p class="ech6nb"><xsl:apply-templates select="altformavail"/></p>
|
1849
|
-
</xsl:if>
|
1850
|
-
<xsl:if test="relatedmaterial/head=$TITEL_5_3">
|
1851
|
-
<a class="ech6" name="DISP_TITEL_5_3"><xsl:copy-of select="$DISP_TITEL_5_3"/></a>
|
1852
|
-
<p class="ech6nb"><xsl:apply-templates select="relatedmaterial"/></p>
|
1853
|
-
</xsl:if>
|
1854
|
-
<xsl:if test="bibliography/head=$TITEL_5_4">
|
1855
|
-
<a class="ech6" name="DISP_TITEL_5_4"><xsl:copy-of select="$DISP_TITEL_5_4"/></a>
|
1856
|
-
<p class="ech6nb"><xsl:apply-templates select="bibliography"/></p>
|
1857
|
-
</xsl:if>
|
1858
|
-
<xsl:call-template name="returnTOC"/>
|
1859
|
-
</xsl:if>
|
1860
|
-
<xsl:if test="head=$TITEL_6">
|
1861
|
-
<a class="ech5" name="DISP_TITEL_6"><xsl:copy-of select="$DISP_TITEL_6"/></a>
|
1862
|
-
<br/>
|
1863
|
-
<xsl:if test="note/head=$TITEL_6_1">
|
1864
|
-
<a class="ech6" name="DISP_TITEL_6_1"><xsl:copy-of select="$DISP_TITEL_6_1"/></a>
|
1865
|
-
<p class="ech6nb"><xsl:apply-templates select="note"/></p>
|
1866
|
-
</xsl:if>
|
1867
|
-
<xsl:call-template name="returnTOC"/>
|
1868
|
-
</xsl:if>
|
1869
|
-
|
1870
|
-
|
1871
|
-
<xsl:if test="head=$TITEL_7">
|
1872
|
-
<a class="ech5" name="DISP_TITEL_7"><xsl:copy-of select="$DISP_TITEL_7"/></a>
|
1873
|
-
<br/>
|
1874
|
-
<xsl:if test="processinfo[@label='Verantwoording']/head=$TITEL_7_1">
|
1875
|
-
<xsl:if test="processinfo[@label='Verantwoording']/p/text()">
|
1876
|
-
<a class="ech6" name="DISP_TITEL_7_1"><xsl:copy-of select="$DISP_TITEL_7_1"/></a>
|
1877
|
-
<p class="ech6nb"><xsl:apply-templates select="processinfo[@label='Verantwoording']"/></p>
|
1878
|
-
</xsl:if>
|
1879
|
-
</xsl:if>
|
1880
|
-
<xsl:if test="descrules/head=$TITEL_7_2">
|
1881
|
-
<a class="ech6" name="DISP_TITEL_7_2"><xsl:copy-of select="$DISP_TITEL_7_2"/></a>
|
1882
|
-
<p class="ech6nb"><xsl:apply-templates select="descrules"/></p>
|
1883
|
-
</xsl:if>
|
1884
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/head=$TITEL_7_3">
|
1885
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/p/text()">
|
1886
|
-
<a class="ech6" name="DISP_TITEL_7_3"><xsl:copy-of select="$DISP_TITEL_7_3"/></a>
|
1887
|
-
<p class="ech6nb"><xsl:apply-templates select="processinfo[@label='Datering van de beschrijvingen']"/></p>
|
1888
|
-
</xsl:if>
|
1889
|
-
</xsl:if>
|
1890
|
-
<xsl:if test="/ead/archdesc/controlaccess">
|
1891
|
-
<a class="ech6" name="DISP_TITEL_7_4"><xsl:copy-of select="$DISP_TITEL_7_4"/></a><br/>
|
1892
|
-
<xsl:for-each select="/ead/archdesc/controlaccess/controlaccess">
|
1893
|
-
<a class="ech6"><xsl:value-of select="head"/></a>
|
1894
|
-
<p class="ech6tref">
|
1895
|
-
<xsl:for-each select="extref">
|
1896
|
-
<a>
|
1897
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
|
1898
|
-
<xsl:attribute name="target">_blank</xsl:attribute>
|
1899
|
-
<xsl:value-of select="*/."/>
|
1900
|
-
</a>
|
1901
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1902
|
-
</xsl:for-each>
|
1903
|
-
</p>
|
1904
|
-
</xsl:for-each>
|
1905
|
-
</xsl:if>
|
1906
|
-
<xsl:call-template name="returnTOC"/>
|
1907
|
-
</xsl:if>
|
1908
|
-
</xsl:template>
|
1909
|
-
<xsl:template match="archdesc/descgrp" mode="c_child">
|
1910
|
-
<xsl:if test="head=$TITEL_1">
|
1911
|
-
<a class="ech5" name="DISP_TITEL_1"><xsl:copy-of select="$DISP_TITEL_1"/></a>
|
1912
|
-
<br/>
|
1913
|
-
<a class="ech6" name="DISP_TITEL_1_1"><xsl:copy-of select="$DISP_TITEL_1_1"/></a>
|
1914
|
-
<p class="ech6nb"><xsl:apply-templates select="unitid/@repositorycode"/><br/>
|
1915
|
-
<xsl:apply-templates select="repository/corpname"/></p>
|
1916
|
-
<xsl:if test="unititle">
|
1917
|
-
<a class="ech6" name="DISP_TITEL_1_2"><xsl:copy-of select="$DISP_TITEL_1_2"/></a>
|
1918
|
-
<p class="ech6nb"><xsl:apply-templates select="unittitle"/></p>
|
1919
|
-
</xsl:if>
|
1920
|
-
<xsl:if test="unitdate">
|
1921
|
-
<a class="ech6" name="DISP_TITEL_1_3"><xsl:copy-of select="$DISP_TITEL_1_3"/></a>
|
1922
|
-
<p class="ech6nb"><xsl:apply-templates select="unitdate"/></p>
|
1923
|
-
</xsl:if>
|
1924
|
-
<xsl:if test="physdesc/extent[@label='Omvang']">
|
1925
|
-
<a class="ech6" name="DISP_TITEL_1_4"><xsl:copy-of select="$DISP_TITEL_1_4"/></a>
|
1926
|
-
<p class="ech6nb"><xsl:apply-templates select="physdesc/extent[@label='Omvang']"/></p>
|
1927
|
-
</xsl:if>
|
1928
|
-
<xsl:if test="physdesc/extent[@label='Opmerkingen']/p/text()">
|
1929
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_OPM"/></p>
|
1930
|
-
<p class="ech6nb"><xsl:apply-templates select="physdesc/extent[@label='Opmerkingen']"/></p>
|
1931
|
-
</xsl:if>
|
1932
|
-
<xsl:if test="physdesc/extent[@label='Aard archief']/p/text()">
|
1933
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_AARD"/></p>
|
1934
|
-
<p class="ech6nb"><xsl:apply-templates select="physdesc/extent[@label='Aard archief']"/></p>
|
1935
|
-
</xsl:if>
|
1936
|
-
<xsl:call-template name="returnTOC"/>
|
1937
|
-
</xsl:if>
|
1938
|
-
|
1939
|
-
|
1940
|
-
<xsl:if test="head=$TITEL_2">
|
1941
|
-
<a class="ech5" name="DISP_TITEL_2"><xsl:copy-of select="$DISP_TITEL_2"/></a>
|
1942
|
-
<br/>
|
1943
|
-
<xsl:if test="origination">
|
1944
|
-
<a class="ech6" name="DISP_TITEL_2_1"><xsl:copy-of select="$DISP_TITEL_2_1"/></a>
|
1945
|
-
<p class="ech6nb"><xsl:apply-templates select="origination/extref"/></p>
|
1946
|
-
</xsl:if>
|
1947
|
-
<xsl:if test="bioghist/p/text()">
|
1948
|
-
<a class="ech6" name="DISP_TITEL_2_2"><xsl:copy-of select="$DISP_TITEL_2_2"/></a>
|
1949
|
-
<p class="ech6nb"><xsl:apply-templates select="bioghist"/></p>
|
1950
|
-
</xsl:if>
|
1951
|
-
<xsl:if test="custodhist/p/text()">
|
1952
|
-
<a class="ech6" name="DISP_TITEL_2_3"><xsl:copy-of select="$DISP_TITEL_2_3"/></a>
|
1953
|
-
<p class="ech6nb"><xsl:apply-templates select="custodhist"/></p>
|
1954
|
-
</xsl:if>
|
1955
|
-
<xsl:if test="acqinfo/p/text()">
|
1956
|
-
<a class="ech6" name="DISP_TITEL_2_4"><xsl:copy-of select="$DISP_TITEL_2_4"/></a>
|
1957
|
-
<p class="ech6nb"><xsl:apply-templates select="acqinfo"/></p>
|
1958
|
-
</xsl:if>
|
1959
|
-
<xsl:call-template name="returnTOC"/>
|
1960
|
-
</xsl:if>
|
1961
|
-
<xsl:if test="head=$TITEL_3">
|
1962
|
-
<a class="ech5" name="DISP_TITEL_3"><xsl:copy-of select="$DISP_TITEL_3"/></a>
|
1963
|
-
<br/>
|
1964
|
-
<xsl:if test="scopecontent/head=$TITEL_3_1">
|
1965
|
-
<a class="ech6" name="DISP_TITEL_3_1"><xsl:copy-of select="$DISP_TITEL_3_1"/></a>
|
1966
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Bereik en inhoud']"/></p>
|
1967
|
-
<xsl:if test="scopecontent/scopecontent[@label='Geografische informatie']/p/text()">
|
1968
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_GEO"/></p>
|
1969
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Geografische informatie']"/></p>
|
1970
|
-
</xsl:if>
|
1971
|
-
<xsl:if test="scopecontent/scopecontent[@label='Collectie periode']/p/text()">
|
1972
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_COLL"/></p>
|
1973
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Collectie periode']"/></p>
|
1974
|
-
</xsl:if>
|
1975
|
-
<xsl:if test="scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']/p/text()">
|
1976
|
-
<p class="ech6"><xsl:copy-of select="$DISP_TITEL_REL"/></p>
|
1977
|
-
<p class="ech6nb"><xsl:apply-templates select="scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']"/></p>
|
1978
|
-
</xsl:if>
|
1979
|
-
</xsl:if>
|
1980
|
-
|
1981
|
-
<xsl:if test="appraisal/head=$TITEL_3_2">
|
1982
|
-
<a class="ech6" name="DISP_TITEL_3_2"><xsl:copy-of select="$DISP_TITEL_3_2"/></a>
|
1983
|
-
<p class="ech6nb"><xsl:apply-templates select="appraisal"/></p>
|
1984
|
-
</xsl:if>
|
1985
|
-
|
1986
|
-
<xsl:if test="accruals/head=$TITEL_3_3">
|
1987
|
-
<a class="ech6" name="DISP_TITEL_3_3"><xsl:copy-of select="$DISP_TITEL_3_3"/></a>
|
1988
|
-
<p class="ech6nb"><xsl:apply-templates select="accruals"/></p>
|
1989
|
-
</xsl:if>
|
1990
|
-
<xsl:if test="arrangement/head=$TITEL_3_4">
|
1991
|
-
<a class="ech6" name="DISP_TITEL_3_4"><xsl:copy-of select="$DISP_TITEL_3_4"/></a>
|
1992
|
-
<p class="ech6nb"><xsl:apply-templates select="arrangement"/></p>
|
1993
|
-
</xsl:if>
|
1994
|
-
<xsl:call-template name="returnTOC"/>
|
1995
|
-
</xsl:if>
|
1996
|
-
<xsl:if test="head=$TITEL_4">
|
1997
|
-
<a class="ech5" name="DISP_TITEL_4"><xsl:copy-of select="$DISP_TITEL_4"/></a>
|
1998
|
-
<br/>
|
1999
|
-
<xsl:if test="accessrestrict/head=$TITEL_4_1">
|
2000
|
-
<a class="ech6" name="DISP_TITEL_4_1"><xsl:copy-of select="$DISP_TITEL_4_1"/></a>
|
2001
|
-
<p class="ech6nb"><xsl:apply-templates select="accessrestrict"/></p>
|
2002
|
-
</xsl:if>
|
2003
|
-
<xsl:if test="userestrict/head=$TITEL_4_2">
|
2004
|
-
<a class="ech6" name="DISP_TITEL_4_2"><xsl:copy-of select="$DISP_TITEL_4_2"/></a>
|
2005
|
-
<p class="ech6nb"><xsl:apply-templates select="userestrict"/></p>
|
2006
|
-
</xsl:if>
|
2007
|
-
<xsl:if test="langmaterial/head=$TITEL_4_3">
|
2008
|
-
<a class="ech6" name="DISP_TITEL_4_3"><xsl:copy-of select="$DISP_TITEL_4_3"/></a>
|
2009
|
-
<p class="ech6nb"><xsl:apply-templates select="langmaterial"/></p>
|
2010
|
-
</xsl:if>
|
2011
|
-
<xsl:if test="phystech/head=$TITEL_4_4">
|
2012
|
-
<a class="ech6" name="DISP_TITEL_4_4"><xsl:copy-of select="$DISP_TITEL_4_4"/></a>
|
2013
|
-
<p class="ech6nb"><xsl:apply-templates select="phystech"/></p>
|
2014
|
-
</xsl:if>
|
2015
|
-
<!--
|
2016
|
-
<xsl:if test="otherfindaid/head=$TITEL_4_5">
|
2017
|
-
<a class="ech6" name="DISP_TITEL_4_5"><xsl:copy-of select="$DISP_TITEL_4_5"/></a>
|
2018
|
-
<p class="ech6nb"><xsl:apply-templates select="otherfindaid"/></p>
|
2019
|
-
</xsl:if>
|
2020
|
-
-->
|
2021
|
-
<xsl:call-template name="returnTOC"/>
|
2022
|
-
</xsl:if>
|
2023
|
-
|
2024
|
-
<xsl:if test="head=$TITEL_5">
|
2025
|
-
<a class="ech5" name="DISP_TITEL_5"><xsl:copy-of select="$DISP_TITEL_5"/></a>
|
2026
|
-
<br/>
|
2027
|
-
<xsl:if test="originalsloc/head=$TITEL_5_1">
|
2028
|
-
<a class="ech6" name="DISP_TITEL_5_1"><xsl:copy-of select="$DISP_TITEL_5_1"/></a>
|
2029
|
-
<p class="ech6nb"><xsl:apply-templates select="originalsloc"/></p>
|
2030
|
-
</xsl:if>
|
2031
|
-
<xsl:if test="altformavail/head=$TITEL_5_2">
|
2032
|
-
<a class="ech6" name="DISP_TITEL_5_2"><xsl:copy-of select="$DISP_TITEL_5_2"/></a>
|
2033
|
-
<p class="ech6nb"><xsl:apply-templates select="altformavail"/></p>
|
2034
|
-
</xsl:if>
|
2035
|
-
<xsl:if test="relatedmaterial/head=$TITEL_5_3">
|
2036
|
-
<a class="ech6" name="DISP_TITEL_5_3"><xsl:copy-of select="$DISP_TITEL_5_3"/></a>
|
2037
|
-
<p class="ech6nb"><xsl:apply-templates select="relatedmaterial"/></p>
|
2038
|
-
</xsl:if>
|
2039
|
-
<xsl:if test="bibliography/head=$TITEL_5_4">
|
2040
|
-
<a class="ech6" name="DISP_TITEL_5_4"><xsl:copy-of select="$DISP_TITEL_5_4"/></a>
|
2041
|
-
<p class="ech6nb"><xsl:apply-templates select="bibliography"/></p>
|
2042
|
-
</xsl:if>
|
2043
|
-
<xsl:call-template name="returnTOC"/>
|
2044
|
-
</xsl:if>
|
2045
|
-
<xsl:if test="head=$TITEL_6">
|
2046
|
-
<a class="ech5" name="DISP_TITEL_6"><xsl:copy-of select="$DISP_TITEL_6"/></a>
|
2047
|
-
<br/>
|
2048
|
-
<xsl:if test="note/head=$TITEL_6_1">
|
2049
|
-
<a class="ech6" name="DISP_TITEL_6_1"><xsl:copy-of select="$DISP_TITEL_6_1"/></a>
|
2050
|
-
<p class="ech6nb"><xsl:apply-templates select="note"/></p>
|
2051
|
-
</xsl:if>
|
2052
|
-
<xsl:call-template name="returnTOC"/>
|
2053
|
-
</xsl:if>
|
2054
|
-
|
2055
|
-
|
2056
|
-
<xsl:if test="head=$TITEL_7">
|
2057
|
-
<a class="ech5" name="DISP_TITEL_7"><xsl:copy-of select="$DISP_TITEL_7"/></a>
|
2058
|
-
<br/>
|
2059
|
-
<xsl:if test="processinfo[@label='Verantwoording']/head=$TITEL_7_1">
|
2060
|
-
<xsl:if test="processinfo[@label='Verantwoording']/p/text()">
|
2061
|
-
<a class="ech6" name="DISP_TITEL_7_1"><xsl:copy-of select="$DISP_TITEL_7_1"/></a>
|
2062
|
-
<p class="ech6nb"><xsl:apply-templates select="processinfo[@label='Verantwoording']"/></p>
|
2063
|
-
</xsl:if>
|
2064
|
-
</xsl:if>
|
2065
|
-
<xsl:if test="descrules/head=$TITEL_7_2">
|
2066
|
-
<a class="ech6" name="DISP_TITEL_7_2"><xsl:copy-of select="$DISP_TITEL_7_2"/></a>
|
2067
|
-
<p class="ech6nb"><xsl:apply-templates select="descrules"/></p>
|
2068
|
-
</xsl:if>
|
2069
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/head=$TITEL_7_3">
|
2070
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/p/text()">
|
2071
|
-
<a class="ech6" name="DISP_TITEL_7_3"><xsl:copy-of select="$DISP_TITEL_7_3"/></a>
|
2072
|
-
<p class="ech6nb"><xsl:apply-templates select="processinfo[@label='Datering van de beschrijvingen']"/></p>
|
2073
|
-
</xsl:if>
|
2074
|
-
</xsl:if>
|
2075
|
-
<xsl:if test="/ead/archdesc/controlaccess">
|
2076
|
-
<a class="ech6" name="DISP_TITEL_7_4"><xsl:copy-of select="$DISP_TITEL_7_4"/></a><br/>
|
2077
|
-
<xsl:for-each select="/ead/archdesc/controlaccess/controlaccess">
|
2078
|
-
<a class="ech6"><xsl:value-of select="head"/></a>
|
2079
|
-
<p class="ech6tref">
|
2080
|
-
<xsl:for-each select="extref">
|
2081
|
-
<a>
|
2082
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute>
|
2083
|
-
<xsl:attribute name="target">_blank</xsl:attribute>
|
2084
|
-
<xsl:value-of select="*/."/>
|
2085
|
-
</a>
|
2086
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
2087
|
-
</xsl:for-each>
|
2088
|
-
</p>
|
2089
|
-
</xsl:for-each>
|
2090
|
-
</xsl:if>
|
2091
|
-
<xsl:call-template name="returnTOC"/>
|
2092
|
-
</xsl:if>
|
2093
|
-
<xsl:apply-templates select="c" mode="detail"/>
|
2094
|
-
</xsl:template>
|
2095
|
-
<!-- Template calls and formats the children of archdesc/descgrp -->
|
2096
|
-
<!--
|
2097
|
-
<xsl:template match="archdesc/descgrp/repository | archdesc/descgrp/unittitle | archdesc/descgrp/unitid | archdesc/descgrp/origination
|
2098
|
-
| archdesc/descgrp/unitdate | archdesc/descgrp/physdesc | archdesc/descgrp/physloc
|
2099
|
-
| archdesc/descgrp/abstract | archdesc/descgrp/langmaterial | archdesc/descgrp/materialspec | archdesc/descgrp/container">
|
2100
|
-
<dt>
|
2101
|
-
<xsl:choose>
|
2102
|
-
<xsl:when test="@label">
|
2103
|
-
<xsl:value-of select="concat(translate( substring(@label, 1, 1 ),
|
2104
|
-
'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ),
|
2105
|
-
substring(@label, 2, string-length(@label )))" />
|
2106
|
-
<xsl:if test="@type"> [<xsl:value-of select="@type"/>]</xsl:if>
|
2107
|
-
<xsl:if test="self::origination">
|
2108
|
-
<xsl:choose>
|
2109
|
-
<xsl:when test="persname[@role != ''] and contains(persname/@role,' (')">
|
2110
|
-
- <xsl:value-of select="substring-before(persname/@role,' (')"/>
|
2111
|
-
</xsl:when>
|
2112
|
-
<xsl:when test="persname[@role != '']">
|
2113
|
-
- <xsl:value-of select="persname/@role"/>
|
2114
|
-
</xsl:when>
|
2115
|
-
<xsl:otherwise/>
|
2116
|
-
</xsl:choose>
|
2117
|
-
</xsl:if>
|
2118
|
-
</xsl:when>
|
2119
|
-
<xsl:otherwise>
|
2120
|
-
<xsl:choose>
|
2121
|
-
<xsl:when test="self::repository">Repository</xsl:when>
|
2122
|
-
<xsl:when test="self::unittitle">Title</xsl:when>
|
2123
|
-
<xsl:when test="self::unitid">ID</xsl:when>
|
2124
|
-
<xsl:when test="self::unitdate">Date<xsl:if test="@type"> [<xsl:value-of select="@type"/>]</xsl:if></xsl:when>
|
2125
|
-
<xsl:when test="self::origination">
|
2126
|
-
<xsl:choose>
|
2127
|
-
<xsl:when test="persname[@role != ''] and contains(persname/@role,' (')">
|
2128
|
-
Creator - <xsl:value-of select="substring-before(persname/@role,' (')"/>
|
2129
|
-
</xsl:when>
|
2130
|
-
<xsl:when test="persname[@role != '']">
|
2131
|
-
Creator - <xsl:value-of select="persname/@role"/>
|
2132
|
-
</xsl:when>
|
2133
|
-
<xsl:otherwise>
|
2134
|
-
Creator
|
2135
|
-
</xsl:otherwise>
|
2136
|
-
</xsl:choose>
|
2137
|
-
</xsl:when>
|
2138
|
-
<xsl:when test="self::physdesc">Extent</xsl:when>
|
2139
|
-
<xsl:when test="self::abstract">Abstract</xsl:when>
|
2140
|
-
<xsl:when test="self::physloc">Location</xsl:when>
|
2141
|
-
<xsl:when test="self::langmaterial">Language</xsl:when>
|
2142
|
-
<xsl:when test="self::materialspec">Technical</xsl:when>
|
2143
|
-
<xsl:when test="self::container">Container</xsl:when>
|
2144
|
-
<xsl:when test="self::note">Note</xsl:when>
|
2145
|
-
</xsl:choose>
|
2146
|
-
</xsl:otherwise>
|
2147
|
-
</xsl:choose>
|
2148
|
-
</dt>
|
2149
|
-
<dd>
|
2150
|
-
<xsl:apply-templates/>
|
2151
|
-
</dd>
|
2152
|
-
|
2153
|
-
</xsl:template>
|
2154
|
-
-->
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
<xsl:template name="prepend-pad">
|
2159
|
-
<!-- recursive template to right justify and prepend-->
|
2160
|
-
<!-- the value with whatever padChar is passed in -->
|
2161
|
-
<xsl:param name="padChar"> </xsl:param>
|
2162
|
-
<xsl:param name="padVar"/>
|
2163
|
-
<xsl:param name="length"/>
|
2164
|
-
<xsl:choose>
|
2165
|
-
<xsl:when test="string-length($padVar) < $length">
|
2166
|
-
<xsl:call-template name="prepend-pad">
|
2167
|
-
<xsl:with-param name="padChar" select="$padChar"/>
|
2168
|
-
<xsl:with-param name="padVar" select="concat($padChar,$padVar)"/>
|
2169
|
-
<xsl:with-param name="length" select="$length"/>
|
2170
|
-
</xsl:call-template>
|
2171
|
-
</xsl:when>
|
2172
|
-
<xsl:otherwise>
|
2173
|
-
<xsl:value-of
|
2174
|
-
select="substring($padVar,string-length($padVar) -
|
2175
|
-
$length + 1)"/>
|
2176
|
-
</xsl:otherwise>
|
2177
|
-
</xsl:choose>
|
2178
|
-
</xsl:template>
|
2179
|
-
<xsl:template name="append-pad">
|
2180
|
-
<!-- recursive template to left justify and append -->
|
2181
|
-
<!-- the value with whatever padChar is passed in -->
|
2182
|
-
<xsl:param name="padChar"> </xsl:param>
|
2183
|
-
<xsl:param name="padVar"/>
|
2184
|
-
<xsl:param name="length"/>
|
2185
|
-
<xsl:choose>
|
2186
|
-
<xsl:when test="string-length($padVar) < $length">
|
2187
|
-
<xsl:call-template name="append-pad">
|
2188
|
-
<xsl:with-param name="padChar" select="$padChar"/>
|
2189
|
-
<xsl:with-param name="padVar" select="concat($padVar,$padChar)"/>
|
2190
|
-
<xsl:with-param name="length" select="$length"/>
|
2191
|
-
</xsl:call-template>
|
2192
|
-
</xsl:when>
|
2193
|
-
<xsl:otherwise>
|
2194
|
-
<xsl:value-of select="substring($padVar,1,$length)"/>
|
2195
|
-
</xsl:otherwise>
|
2196
|
-
</xsl:choose>
|
2197
|
-
</xsl:template>
|
2198
|
-
<xsl:template match="langmaterial | appraisal | accruals | arrangement | accessrestrict | userestrict | phystech | otherfindaid
|
2199
|
-
| originalsloc | altformavail | relatedmaterial | bibliography | note | processinfo[@label='Verantwoording'] | descrules
|
2200
|
-
| processinfo[@label='Datering van de beschrijvingen'] | bioghist | custodhist |acqinfo
|
2201
|
-
| scopecontent/scopecontent[@label='Bereik en inhoud'] | scopecontent/scopecontent[@label='Geografische informatie']
|
2202
|
-
| scopecontent/scopecontent[@label='Collectie periode'] | scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']
|
2203
|
-
| unittitle | unitdate | physdesc/extent[@label='Omvang'] | physdesc/extent[@label='Opmerkingen'] | physdesc/extent[@label='Aard archief']">
|
2204
|
-
<xsl:for-each select="archref">
|
2205
|
-
<xsl:if test="string(note)">
|
2206
|
-
<xsl:value-of select="note"/> : 
|
2207
|
-
</xsl:if>
|
2208
|
-
<a>
|
2209
|
-
<xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>
|
2210
|
-
<xsl:value-of select="unittitle"/>
|
2211
|
-
</a>
|
2212
|
-
<br/>
|
2213
|
-
</xsl:for-each>
|
2214
|
-
<xsl:for-each select="p">
|
2215
|
-
<!--<xsl:value-of select="." disable-output-escaping="yes"/>-->
|
2216
|
-
<xsl:call-template name="replace-dest"> <!-- imported template -->
|
2217
|
-
<xsl:with-param name="text" select="."/>
|
2218
|
-
</xsl:call-template>
|
2219
|
-
|
2220
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
2221
|
-
</xsl:for-each>
|
2222
|
-
</xsl:template>
|
2223
|
-
<!-- Template calls and formats all other children of archdesc many of
|
2224
|
-
these elements are repeatable within the dsc section as well.-->
|
2225
|
-
<xsl:template match="odd | fileplan | separatedmaterial">
|
2226
|
-
<xsl:choose>
|
2227
|
-
<xsl:when test="head"><xsl:apply-templates/></xsl:when>
|
2228
|
-
<xsl:otherwise>
|
2229
|
-
<xsl:choose>
|
2230
|
-
<xsl:when test="parent::archdesc">
|
2231
|
-
<xsl:choose>
|
2232
|
-
<xsl:when test="self::bibliography"><h3><xsl:call-template name="anchor"/>Bibliography</h3></xsl:when>
|
2233
|
-
<xsl:when test="self::odd"><h3><xsl:call-template name="anchor"/>Other Descriptive Data</h3></xsl:when>
|
2234
|
-
<xsl:when test="self::accruals"><h4><xsl:call-template name="anchor"/>Accruals</h4></xsl:when>
|
2235
|
-
<xsl:when test="self::arrangement"><h3><xsl:call-template name="anchor"/>Arrangement</h3></xsl:when>
|
2236
|
-
<xsl:when test="self::bioghist"><h3><xsl:call-template name="anchor"/>Biography/History</h3></xsl:when>
|
2237
|
-
<xsl:when test="self::accessrestrict"><h4><xsl:call-template name="anchor"/>Restrictions on Access</h4></xsl:when>
|
2238
|
-
<xsl:when test="self::userestrict"><h4><xsl:call-template name="anchor"/>Restrictions on Use</h4></xsl:when>
|
2239
|
-
<xsl:when test="self::custodhist"><h4><xsl:call-template name="anchor"/>Custodial History</h4></xsl:when>
|
2240
|
-
<xsl:when test="self::altformavail"><h4><xsl:call-template name="anchor"/>Alternative Form Available</h4></xsl:when>
|
2241
|
-
<xsl:when test="self::originalsloc"><h4><xsl:call-template name="anchor"/>Original Location</h4></xsl:when>
|
2242
|
-
<xsl:when test="self::fileplan"><h3><xsl:call-template name="anchor"/>File Plan</h3></xsl:when>
|
2243
|
-
<xsl:when test="self::acqinfo"><h4><xsl:call-template name="anchor"/>Acquisition Information</h4></xsl:when>
|
2244
|
-
<xsl:when test="self::otherfindaid"><h3><xsl:call-template name="anchor"/>Other Finding Aids</h3></xsl:when>
|
2245
|
-
<xsl:when test="self::phystech"><h3><xsl:call-template name="anchor"/>Physical Characteristics and Technical Requirements</h3></xsl:when>
|
2246
|
-
<xsl:when test="self::processinfo"><h4><xsl:call-template name="anchor"/>Processing Information</h4></xsl:when>
|
2247
|
-
<xsl:when test="self::relatedmaterial"><h4><xsl:call-template name="anchor"/>1Related Material</h4></xsl:when>
|
2248
|
-
<xsl:when test="self::scopecontent"><h3><xsl:call-template name="anchor"/>Scope and Content</h3></xsl:when>
|
2249
|
-
<xsl:when test="self::separatedmaterial"><h4><xsl:call-template name="anchor"/>Separated Material</h4></xsl:when>
|
2250
|
-
<xsl:when test="self::appraisal"><h4><xsl:call-template name="anchor"/>Appraisal</h4></xsl:when>
|
2251
|
-
</xsl:choose>
|
2252
|
-
</xsl:when>
|
2253
|
-
<xsl:otherwise>
|
2254
|
-
<h4><xsl:call-template name="anchor"/>
|
2255
|
-
<xsl:choose>
|
2256
|
-
<xsl:when test="self::bibliography">Bibliography</xsl:when>
|
2257
|
-
<xsl:when test="self::odd">Other Descriptive Data</xsl:when>
|
2258
|
-
<xsl:when test="self::accruals">Accruals</xsl:when>
|
2259
|
-
<xsl:when test="self::arrangement">Arrangement</xsl:when>
|
2260
|
-
<xsl:when test="self::bioghist">Biography/History</xsl:when>
|
2261
|
-
<xsl:when test="self::accessrestrict">Restrictions on Access</xsl:when>
|
2262
|
-
<xsl:when test="self::userestrict">Restrictions on Use</xsl:when>
|
2263
|
-
<xsl:when test="self::custodhist">Custodial History</xsl:when>
|
2264
|
-
<xsl:when test="self::altformavail">Alternative Form Available</xsl:when>
|
2265
|
-
<xsl:when test="self::originalsloc">Original Location</xsl:when>
|
2266
|
-
<xsl:when test="self::fileplan">File Plan</xsl:when>
|
2267
|
-
<xsl:when test="self::acqinfo">Acquisition Information</xsl:when>
|
2268
|
-
<xsl:when test="self::otherfindaid">Other Finding Aids</xsl:when>
|
2269
|
-
<xsl:when test="self::phystech">Physical Characteristics and Technical Requirements</xsl:when>
|
2270
|
-
<xsl:when test="self::processinfo">Processing Information</xsl:when>
|
2271
|
-
<xsl:when test="self::relatedmaterial">2Related Material</xsl:when>
|
2272
|
-
<xsl:when test="self::scopecontent">Scope and Content</xsl:when>
|
2273
|
-
<xsl:when test="self::separatedmaterial">Separated Material</xsl:when>
|
2274
|
-
<xsl:when test="self::appraisal">Appraisal</xsl:when>
|
2275
|
-
</xsl:choose>
|
2276
|
-
</h4>
|
2277
|
-
</xsl:otherwise>
|
2278
|
-
</xsl:choose>
|
2279
|
-
<xsl:apply-templates/>
|
2280
|
-
</xsl:otherwise>
|
2281
|
-
</xsl:choose>
|
2282
|
-
<!-- If the element is a child of arcdesc then a link to the table of contents is included -->
|
2283
|
-
<xsl:if test="parent::archdesc">
|
2284
|
-
<xsl:choose>
|
2285
|
-
<xsl:when test="self::accessrestrict or self::userestrict or
|
2286
|
-
self::custodhist or self::accruals or
|
2287
|
-
self::altformavail or self::acqinfo or
|
2288
|
-
self::processinfo or self::appraisal or
|
2289
|
-
self::originalsloc or
|
2290
|
-
self::relatedmaterial or self::separatedmaterial or self::prefercite"/>
|
2291
|
-
<xsl:otherwise>
|
2292
|
-
<xsl:call-template name="returnTOC"/>
|
2293
|
-
</xsl:otherwise>
|
2294
|
-
</xsl:choose>
|
2295
|
-
</xsl:if>
|
2296
|
-
</xsl:template>
|
2297
|
-
|
2298
|
-
<xsl:template name="SubstringReplace">
|
2299
|
-
<xsl:param name="stringIn"/>
|
2300
|
-
<xsl:param name="substringIn"/>
|
2301
|
-
<xsl:param name="substringOut"/>
|
2302
|
-
<xsl:choose>
|
2303
|
-
<xsl:when test="contains($stringIn,$substringIn)">
|
2304
|
-
<xsl:value-of select="concat(substring-before($stringIn,$substringIn),$substringOut)"/>
|
2305
|
-
<xsl:call-template name="SubstringReplace">
|
2306
|
-
<xsl:with-param name="stringIn" select="substring-after($stringIn,$substringIn)"/>
|
2307
|
-
<xsl:with-param name="substringIn" select="$substringIn"/>
|
2308
|
-
<xsl:with-param name="substringOut" select="$substringOut"/>
|
2309
|
-
</xsl:call-template>
|
2310
|
-
</xsl:when>
|
2311
|
-
<xsl:otherwise>
|
2312
|
-
<xsl:value-of select="$stringIn"/>
|
2313
|
-
</xsl:otherwise>
|
2314
|
-
</xsl:choose>
|
2315
|
-
</xsl:template>
|
2316
|
-
<xsl:template match="c" mode="heading">
|
2317
|
-
<xsl:if test="@level='Deelarchief' or @level='Afdeling' or @level='Onderafdeling' or @level='Rubriek' or @level='Subrubriek'">
|
2318
|
-
<!--<xsl:if test="@level='Afdeling' or @level='Onderafdeling' or @level='Rubriek' or @level='Subrubriek'">-->
|
2319
|
-
<xsl:variable name="cid"><xsl:value-of select="@id"/></xsl:variable>
|
2320
|
-
<xsl:for-each select="did">
|
2321
|
-
<dl>
|
2322
|
-
<dd>
|
2323
|
-
<a class="ech6">
|
2324
|
-
<xsl:attribute name="href">#lnk_<xsl:value-of select="$cid"/></xsl:attribute>
|
2325
|
-
<xsl:if test="unittitle[@label='Titel']/p/text()">
|
2326
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()"><xsl:value-of select="'"'"/><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/><xsl:value-of select="'"'"/><xsl:text>. </xsl:text></xsl:if>
|
2327
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/></xsl:if>
|
2328
|
-
<xsl:if test="not(unittitle[@label='Titel']/p/text())"><xsl:value-of select="unitid/@identifier"/></xsl:if>
|
2329
|
-
</a>
|
2330
|
-
<xsl:apply-templates select="c" mode="heading"/>
|
2331
|
-
</dd>
|
2332
|
-
</dl>
|
2333
|
-
</xsl:for-each>
|
2334
|
-
</xsl:if>
|
2335
|
-
</xsl:template>
|
2336
|
-
<xsl:template name="substitute">
|
2337
|
-
<xsl:param name="string" />
|
2338
|
-
<xsl:param name="from" select="'
'" />
|
2339
|
-
<xsl:param name="to">
|
2340
|
-
<br />
|
2341
|
-
</xsl:param>
|
2342
|
-
<xsl:choose>
|
2343
|
-
<xsl:when test="contains($string, $from)">
|
2344
|
-
<xsl:value-of select="substring-before($string, $from)" />
|
2345
|
-
<xsl:copy-of select="$to" />
|
2346
|
-
<xsl:call-template name="substitute">
|
2347
|
-
<xsl:with-param name="string"
|
2348
|
-
select="substring-after($string, $from)" />
|
2349
|
-
<xsl:with-param name="from" select="$from" />
|
2350
|
-
<xsl:with-param name="to" select="$to" />
|
2351
|
-
</xsl:call-template>
|
2352
|
-
</xsl:when>
|
2353
|
-
<xsl:otherwise>
|
2354
|
-
<xsl:value-of select="$string" />
|
2355
|
-
</xsl:otherwise>
|
2356
|
-
</xsl:choose>
|
2357
|
-
</xsl:template>
|
2358
|
-
|
2359
|
-
<xsl:template name="replace-dest">
|
2360
|
-
<xsl:param name="text"/>
|
2361
|
-
|
2362
|
-
<xsl:variable name="pre-text"><xsl:value-of select="substring-before($text,'<link dest="')"/></xsl:variable>
|
2363
|
-
<xsl:variable name="post-text"><xsl:value-of select="substring-after($text,'</link>')"/></xsl:variable>
|
2364
|
-
<xsl:variable name="href-lnk"><xsl:value-of select="substring-before(substring-after($text,'<link dest="'),'"')"/></xsl:variable>
|
2365
|
-
<xsl:variable name="href-text"><xsl:value-of select="substring-after(substring-after(substring-before($text,'</link>'),'<link dest="'),'>')"/></xsl:variable>
|
2366
|
-
<xsl:choose>
|
2367
|
-
<xsl:when test="contains($text,'<link dest="')">
|
2368
|
-
<xsl:value-of select="$pre-text"/>
|
2369
|
-
<a><xsl:attribute name="href"><xsl:value-of select="$href-lnk"/></xsl:attribute><xsl:value-of select="$href-text"/></a><xsl:value-of select="$post-text"/>
|
2370
|
-
</xsl:when>
|
2371
|
-
<xsl:otherwise>
|
2372
|
-
<xsl:value-of select="$text"/>
|
2373
|
-
</xsl:otherwise>
|
2374
|
-
</xsl:choose>
|
2375
|
-
</xsl:template>
|
2376
|
-
</xsl:stylesheet>
|