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,1453 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
-
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
3
|
-
<xsl:strip-space elements="*"/>
|
4
|
-
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
|
5
|
-
<xsl:include href="header_nolink_pdf.xsl"/>
|
6
|
-
<!-- Creates the body of the finding aid.-->
|
7
|
-
<xsl:template match="/ead">
|
8
|
-
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
|
9
|
-
<fo:layout-master-set>
|
10
|
-
<fo:simple-page-master master-name="pages" page-width="21cm" page-height="29.7cm"
|
11
|
-
margin-top="1cm" margin-bottom="1cm"
|
12
|
-
margin-left="3cm" margin-right="1cm">
|
13
|
-
<fo:region-body region-name="main" margin-bottom="2cm" margin-top="2cm"/>
|
14
|
-
<fo:region-before region-name="header-main" extent="2cm"/>
|
15
|
-
</fo:simple-page-master>
|
16
|
-
<fo:simple-page-master master-name="cover" page-width="21cm" page-height="29.7cm"
|
17
|
-
margin-top="1cm" margin-bottom="1cm"
|
18
|
-
margin-left="1cm" margin-right="1cm">
|
19
|
-
<fo:region-body margin="2cm"/>
|
20
|
-
</fo:simple-page-master>
|
21
|
-
<fo:simple-page-master master-name="toc" page-width="21cm" page-height="29.7cm"
|
22
|
-
margin-top="1cm" margin-bottom="1cm"
|
23
|
-
margin-left="3cm" margin-right="1cm">
|
24
|
-
<fo:region-body margin-bottom="2cm" margin-top="2cm"/>
|
25
|
-
<fo:region-before region-name="toc_header-main" extent="2cm"/>
|
26
|
-
</fo:simple-page-master>
|
27
|
-
</fo:layout-master-set>
|
28
|
-
|
29
|
-
<fo:page-sequence master-reference="cover">
|
30
|
-
<fo:flow flow-name="xsl-region-body">
|
31
|
-
|
32
|
-
<fo:block font-family="Times" space-before="0.5in" text-align="left">
|
33
|
-
<fo:external-graphic content-height="40" content-width="90" src="url('http://www.lias.be/themes/LIAS/images/lias.jpg')"/>
|
34
|
-
</fo:block>
|
35
|
-
<xsl:call-template name="header"/>
|
36
|
-
</fo:flow>
|
37
|
-
</fo:page-sequence>
|
38
|
-
<fo:page-sequence master-reference="toc">
|
39
|
-
<fo:static-content flow-name="toc_header-main">
|
40
|
-
<fo:block text-align-last="justify" font-size="10pt" font-family="Times">
|
41
|
-
<xsl:if test="string-length($TITLE_HEADER) > 121">
|
42
|
-
<xsl:value-of select="concat(substring($TITLE_HEADER,1,121),'...')"/>
|
43
|
-
</xsl:if>
|
44
|
-
<xsl:if test="string-length($TITLE_HEADER) < 122">
|
45
|
-
<xsl:value-of select="$TITLE_HEADER"/>
|
46
|
-
</xsl:if>
|
47
|
-
<fo:leader/><xsl:text>Pagina: </xsl:text><fo:page-number/>
|
48
|
-
</fo:block>
|
49
|
-
<xsl:call-template name="hr_fo"/>
|
50
|
-
</fo:static-content>
|
51
|
-
<fo:flow flow-name="xsl-region-body">
|
52
|
-
<xsl:call-template name="toc_gv"/>
|
53
|
-
</fo:flow>
|
54
|
-
|
55
|
-
</fo:page-sequence>
|
56
|
-
<fo:page-sequence master-reference="pages">
|
57
|
-
<fo:static-content flow-name="header-main">
|
58
|
-
<fo:block text-align-last="justify" font-size="10pt" font-family="Times">
|
59
|
-
<xsl:if test="string-length($TITLE_HEADER) > 121">
|
60
|
-
<xsl:value-of select="concat(substring($TITLE_HEADER,1,121),'...')"/>
|
61
|
-
</xsl:if>
|
62
|
-
<xsl:if test="string-length($TITLE_HEADER) < 122">
|
63
|
-
<xsl:value-of select="$TITLE_HEADER"/>
|
64
|
-
</xsl:if>
|
65
|
-
<fo:leader/><xsl:text>Pagina: </xsl:text><fo:page-number/>
|
66
|
-
</fo:block>
|
67
|
-
<xsl:call-template name="hr_fo"/>
|
68
|
-
</fo:static-content>
|
69
|
-
|
70
|
-
<fo:flow flow-name="main">
|
71
|
-
<fo:block font-size="14pt" font-weight="bold" font-family="Times" space-before="0.1in" text-align="left">
|
72
|
-
<xsl:copy-of select="$DISP_TITEL_MAIN"/>
|
73
|
-
</fo:block>
|
74
|
-
<xsl:apply-templates select="/ead/archdesc/descgrp"/>
|
75
|
-
<fo:block break-after='page'/>
|
76
|
-
<fo:block/>
|
77
|
-
<xsl:if test="/ead/archdesc/dsc/c/*">
|
78
|
-
<fo:block font-weight="bold" font-size="14pt" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_8">
|
79
|
-
<xsl:copy-of select="$DISP_TITEL_8"/>
|
80
|
-
</fo:block>
|
81
|
-
<xsl:for-each select="archdesc/dsc">
|
82
|
-
<xsl:apply-templates select="c" mode="detail"/>
|
83
|
-
</xsl:for-each>
|
84
|
-
</xsl:if>
|
85
|
-
|
86
|
-
</fo:flow>
|
87
|
-
</fo:page-sequence>
|
88
|
-
</fo:root>
|
89
|
-
</xsl:template>
|
90
|
-
<xsl:template name="header">
|
91
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/titleproper) != '' or normalize-space(eadheader/filedesc/titlestmt/subtitle) !='' or normalize-space(eadheader/filedesc/titlestmt/author) != ''">
|
92
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/titleproper[@label='Titel']) != ''">
|
93
|
-
<fo:block space-before="0.1in" font-size="18pt" font-family="Times" font-weight="bold" text-align="center">
|
94
|
-
<xsl:value-of select="eadheader/filedesc/titlestmt/titleproper[@label='Titel']"/>
|
95
|
-
</fo:block>
|
96
|
-
</xsl:if>
|
97
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/titleproper[@label='Ondertitel']) != ''">
|
98
|
-
<fo:block space-before="0.1in" font-size="14pt"
|
99
|
-
font-family="Times"
|
100
|
-
font-weight="bold" text-align="center">
|
101
|
-
<xsl:value-of select="eadheader/filedesc/titlestmt/titleproper[@label='Ondertitel']"/>
|
102
|
-
</fo:block>
|
103
|
-
</xsl:if>
|
104
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/subtitle) !=''">
|
105
|
-
<fo:block space-before="0.1in" font-size="14pt"
|
106
|
-
font-family="Times"
|
107
|
-
font-weight="bold" text-align="center">
|
108
|
-
<xsl:value-of select="eadheader/filedesc/titlestmt/subtitle"/>
|
109
|
-
</fo:block>
|
110
|
-
</xsl:if>
|
111
|
-
<xsl:if test="normalize-space(eadheader/filedesc/titlestmt/author) != ''">
|
112
|
-
<fo:block space-before="0.1in" font-size="13pt"
|
113
|
-
font-family="Times"
|
114
|
-
font-weight="bold" text-align="center">
|
115
|
-
<xsl:value-of select="eadheader/filedesc/titlestmt/author"/>
|
116
|
-
</fo:block>
|
117
|
-
</xsl:if>
|
118
|
-
</xsl:if>
|
119
|
-
<fo:block font-size="10pt" font-family="Times" space-before="1.0in" text-align="left">
|
120
|
-
<xsl:value-of select="'Deze EAD-export werd op '"/><xsl:value-of select="$EAD_DATE"/><xsl:value-of select="' automatisch gegenereerd.'"/><fo:block/>
|
121
|
-
<xsl:value-of select="'LIAS bevat voor sommige beschrijvingen meer gegevens, en laat toe om digitale objecten die aanwezig zijn in het digitale depot rechtstreeks te raadplegen.'"/><fo:block/>
|
122
|
-
<xsl:value-of select="'U kan het beschreven archief raadplegen via '"/>
|
123
|
-
<fo:basic-link font-weight="bold">
|
124
|
-
<xsl:attribute name="external-destination"><xsl:value-of select="concat($XML_SCOPE_OPAC,$REC_ID)"/></xsl:attribute>LIAS</fo:basic-link>
|
125
|
-
<xsl:call-template name="hr_fo"/>
|
126
|
-
</fo:block>
|
127
|
-
</xsl:template>
|
128
|
-
<xsl:template name="hr_fo">
|
129
|
-
<fo:block font-family="Times"><fo:leader leader-length="100%" leader-pattern="rule"/></fo:block>
|
130
|
-
</xsl:template>
|
131
|
-
|
132
|
-
<xsl:template name="toc_gv">
|
133
|
-
<fo:block font-weight="bold" font-size="15pt" font-family="Times" space-before="0.1in" text-align="left" id="toc_gv">
|
134
|
-
<xsl:copy-of select="$DISP_TITEL_TOC"/>
|
135
|
-
</fo:block>
|
136
|
-
<fo:block font-weight="bold" font-size="14pt" font-family="Times" space-before="0.1in" text-align="left" id="dummy">
|
137
|
-
<xsl:copy-of select="$DISP_TITEL_MAIN"/>
|
138
|
-
</fo:block>
|
139
|
-
<!--<fo:block font-weight="bold" font-size="12pt" font-family="Times" space-before="0.1in" text-align="left"> -->
|
140
|
-
<!--<fo:block font-size="12pt" font-family="Times" space-before="0.1in" text-align="left">-->
|
141
|
-
<xsl:for-each select="archdesc/descgrp">
|
142
|
-
<!--<fo:block font-size="13pt" font-weight="bold" font-family="Times" space-before="0.1in" text-align="left">
|
143
|
-
<xsl:copy-of select="$DISP_TITEL_MAIN"/>
|
144
|
-
</fo:block>-->
|
145
|
-
<fo:block font-size="12pt" font-family="Times" space-before="0.1in" text-align="right">
|
146
|
-
<xsl:if test="head=$TITEL_1">
|
147
|
-
|
148
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
149
|
-
<fo:basic-link internal-destination="DISP_TITEL_1"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_1"/></fo:inline></fo:basic-link>
|
150
|
-
<fo:leader leader-pattern="dots"/>
|
151
|
-
<fo:page-number-citation ref-id="DISP_TITEL_1"/>
|
152
|
-
</fo:block>
|
153
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
154
|
-
<fo:basic-link internal-destination="DISP_TITEL_1_1"><xsl:copy-of select="$DISP_TITEL_1_1"/></fo:basic-link>
|
155
|
-
<fo:leader leader-pattern="dots"/>
|
156
|
-
<fo:page-number-citation ref-id="DISP_TITEL_1_1"/>
|
157
|
-
</fo:block>
|
158
|
-
|
159
|
-
<xsl:if test="unittitle">
|
160
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify">
|
161
|
-
<!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
162
|
-
<fo:basic-link internal-destination="DISP_TITEL_1_2"><xsl:copy-of select="$DISP_TITEL_1_2"/></fo:basic-link>
|
163
|
-
<fo:leader leader-pattern="dots"/>
|
164
|
-
<fo:page-number-citation ref-id="DISP_TITEL_1_2"/>
|
165
|
-
</fo:block>
|
166
|
-
</xsl:if>
|
167
|
-
|
168
|
-
<xsl:if test="unitdate">
|
169
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
170
|
-
<fo:basic-link internal-destination="DISP_TITEL_1_3"><xsl:copy-of select="$DISP_TITEL_1_3"/></fo:basic-link>
|
171
|
-
<fo:leader leader-pattern="dots"/>
|
172
|
-
<fo:page-number-citation ref-id="DISP_TITEL_1_3"/>
|
173
|
-
</fo:block>
|
174
|
-
</xsl:if>
|
175
|
-
<xsl:if test="physdesc/extent[@label='Omvang']">
|
176
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
177
|
-
<fo:basic-link internal-destination="DISP_TITEL_1_4"><xsl:copy-of select="$DISP_TITEL_1_4"/></fo:basic-link>
|
178
|
-
<fo:leader leader-pattern="dots"/>
|
179
|
-
<fo:page-number-citation ref-id="DISP_TITEL_1_4"/>
|
180
|
-
</fo:block>
|
181
|
-
</xsl:if>
|
182
|
-
</xsl:if>
|
183
|
-
<xsl:if test="head=$TITEL_2">
|
184
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
185
|
-
<fo:basic-link internal-destination="DISP_TITEL_2"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_2"/></fo:inline></fo:basic-link>
|
186
|
-
<fo:leader leader-pattern="dots"/>
|
187
|
-
<fo:page-number-citation ref-id="DISP_TITEL_2"/>
|
188
|
-
</fo:block>
|
189
|
-
<xsl:if test="origination">
|
190
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
191
|
-
<fo:basic-link internal-destination="DISP_TITEL_2_1"><xsl:copy-of select="$DISP_TITEL_2_1"/></fo:basic-link>
|
192
|
-
<fo:leader leader-pattern="dots"/>
|
193
|
-
<fo:page-number-citation ref-id="DISP_TITEL_2_1"/>
|
194
|
-
</fo:block>
|
195
|
-
</xsl:if>
|
196
|
-
<xsl:if test="bioghist/p/text()">
|
197
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
198
|
-
<fo:basic-link internal-destination="DISP_TITEL_2_2"><xsl:copy-of select="$DISP_TITEL_2_2"/></fo:basic-link>
|
199
|
-
<fo:leader leader-pattern="dots"/>
|
200
|
-
<fo:page-number-citation ref-id="DISP_TITEL_2_2"/>
|
201
|
-
</fo:block>
|
202
|
-
</xsl:if>
|
203
|
-
<xsl:if test="custodhist/p/text()">
|
204
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
205
|
-
<fo:basic-link internal-destination="DISP_TITEL_2_3"><xsl:copy-of select="$DISP_TITEL_2_3"/></fo:basic-link>
|
206
|
-
<fo:leader leader-pattern="dots"/>
|
207
|
-
<fo:page-number-citation ref-id="DISP_TITEL_2_3"/>
|
208
|
-
</fo:block>
|
209
|
-
</xsl:if>
|
210
|
-
<xsl:if test="acqinfo/p/text()">
|
211
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
212
|
-
<fo:basic-link internal-destination="DISP_TITEL_2_4"><xsl:copy-of select="$DISP_TITEL_2_4"/></fo:basic-link>
|
213
|
-
<fo:leader leader-pattern="dots"/>
|
214
|
-
<fo:page-number-citation ref-id="DISP_TITEL_2_4"/>
|
215
|
-
</fo:block>
|
216
|
-
</xsl:if>
|
217
|
-
</xsl:if>
|
218
|
-
<xsl:if test="head=$TITEL_3">
|
219
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
220
|
-
<fo:basic-link internal-destination="DISP_TITEL_3"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_3"/></fo:inline></fo:basic-link>
|
221
|
-
<fo:leader leader-pattern="dots"/>
|
222
|
-
<fo:page-number-citation ref-id="DISP_TITEL_3"/>
|
223
|
-
</fo:block>
|
224
|
-
<xsl:if test="scopecontent/head=$TITEL_3_1">
|
225
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
226
|
-
<fo:basic-link internal-destination="DISP_TITEL_3_1"><xsl:copy-of select="$DISP_TITEL_3_1"/></fo:basic-link>
|
227
|
-
<fo:leader leader-pattern="dots"/>
|
228
|
-
<fo:page-number-citation ref-id="DISP_TITEL_3_1"/>
|
229
|
-
</fo:block>
|
230
|
-
</xsl:if>
|
231
|
-
<xsl:if test="appraisal/head=$TITEL_3_2">
|
232
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
233
|
-
<fo:basic-link internal-destination="DISP_TITEL_3_2"><xsl:copy-of select="$DISP_TITEL_3_2"/></fo:basic-link>
|
234
|
-
<fo:leader leader-pattern="dots"/>
|
235
|
-
<fo:page-number-citation ref-id="DISP_TITEL_3_2"/>
|
236
|
-
</fo:block>
|
237
|
-
</xsl:if>
|
238
|
-
<xsl:if test="accruals/head=$TITEL_3_3">
|
239
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
240
|
-
<fo:basic-link internal-destination="DISP_TITEL_3_3"><xsl:copy-of select="$DISP_TITEL_3_3"/></fo:basic-link>
|
241
|
-
<fo:leader leader-pattern="dots"/>
|
242
|
-
<fo:page-number-citation ref-id="DISP_TITEL_3_3"/>
|
243
|
-
</fo:block>
|
244
|
-
</xsl:if>
|
245
|
-
<xsl:if test="arrangement/head=$TITEL_3_4">
|
246
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
247
|
-
<fo:basic-link internal-destination="DISP_TITEL_3_4"><xsl:copy-of select="$DISP_TITEL_3_4"/></fo:basic-link>
|
248
|
-
<fo:leader leader-pattern="dots"/>
|
249
|
-
<fo:page-number-citation ref-id="DISP_TITEL_3_4"/>
|
250
|
-
</fo:block>
|
251
|
-
</xsl:if>
|
252
|
-
</xsl:if>
|
253
|
-
<xsl:if test="head=$TITEL_4">
|
254
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
255
|
-
<fo:basic-link internal-destination="DISP_TITEL_4"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_4"/></fo:inline></fo:basic-link>
|
256
|
-
<fo:leader leader-pattern="dots"/>
|
257
|
-
<fo:page-number-citation ref-id="DISP_TITEL_4"/>
|
258
|
-
</fo:block>
|
259
|
-
<xsl:if test="accessrestrict/head=$TITEL_4_1">
|
260
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
261
|
-
<fo:basic-link internal-destination="DISP_TITEL_4_1"><xsl:copy-of select="$DISP_TITEL_4_1"/></fo:basic-link>
|
262
|
-
<fo:leader leader-pattern="dots"/>
|
263
|
-
<fo:page-number-citation ref-id="DISP_TITEL_4_1"/>
|
264
|
-
</fo:block>
|
265
|
-
</xsl:if>
|
266
|
-
<xsl:if test="userestrict/head=$TITEL_4_2">
|
267
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
268
|
-
<fo:basic-link internal-destination="DISP_TITEL_4_2"><xsl:copy-of select="$DISP_TITEL_4_2"/></fo:basic-link>
|
269
|
-
<fo:leader leader-pattern="dots"/>
|
270
|
-
<fo:page-number-citation ref-id="DISP_TITEL_4_2"/>
|
271
|
-
</fo:block>
|
272
|
-
</xsl:if>
|
273
|
-
<xsl:if test="langmaterial/head=$TITEL_4_3">
|
274
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
275
|
-
<fo:basic-link internal-destination="DISP_TITEL_4_3"><xsl:copy-of select="$DISP_TITEL_4_3"/></fo:basic-link>
|
276
|
-
<fo:leader leader-pattern="dots"/>
|
277
|
-
<fo:page-number-citation ref-id="DISP_TITEL_4_3"/>
|
278
|
-
</fo:block>
|
279
|
-
</xsl:if>
|
280
|
-
<xsl:if test="phystech/head=$TITEL_4_4">
|
281
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
282
|
-
<fo:basic-link internal-destination="DISP_TITEL_4_4"><xsl:copy-of select="$DISP_TITEL_4_4"/></fo:basic-link>
|
283
|
-
<fo:leader leader-pattern="dots"/>
|
284
|
-
<fo:page-number-citation ref-id="DISP_TITEL_4_4"/>
|
285
|
-
</fo:block>
|
286
|
-
</xsl:if>
|
287
|
-
<!--Toegang is commented as its not needed now
|
288
|
-
<xsl:if test="otherfindaid/head=$TITEL_4_5">
|
289
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify">
|
290
|
-
<fo:basic-link internal-destination="DISP_TITEL_4_5"><xsl:copy-of select="$DISP_TITEL_4_5"/></fo:basic-link>
|
291
|
-
<fo:leader leader-pattern="dots"/>
|
292
|
-
<fo:page-number-citation ref-id="DISP_TITEL_4_5"/>
|
293
|
-
</fo:block>
|
294
|
-
</xsl:if>
|
295
|
-
-->
|
296
|
-
</xsl:if>
|
297
|
-
<xsl:if test="head=$TITEL_5">
|
298
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
299
|
-
<fo:basic-link internal-destination="DISP_TITEL_5"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_5"/></fo:inline></fo:basic-link>
|
300
|
-
<fo:leader leader-pattern="dots"/>
|
301
|
-
<fo:page-number-citation ref-id="DISP_TITEL_5"/>
|
302
|
-
</fo:block>
|
303
|
-
<xsl:if test="originalsloc/head=$TITEL_5_1">
|
304
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
305
|
-
<fo:basic-link internal-destination="DISP_TITEL_5_1"><xsl:copy-of select="$DISP_TITEL_5_1"/></fo:basic-link>
|
306
|
-
<fo:leader leader-pattern="dots"/>
|
307
|
-
<fo:page-number-citation ref-id="DISP_TITEL_5_1"/>
|
308
|
-
</fo:block>
|
309
|
-
</xsl:if>
|
310
|
-
<xsl:if test="altformavail/head=$TITEL_5_2">
|
311
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
312
|
-
<fo:basic-link internal-destination="DISP_TITEL_5_2"><xsl:copy-of select="$DISP_TITEL_5_2"/></fo:basic-link>
|
313
|
-
<fo:leader leader-pattern="dots"/>
|
314
|
-
<fo:page-number-citation ref-id="DISP_TITEL_5_2"/>
|
315
|
-
</fo:block>
|
316
|
-
</xsl:if>
|
317
|
-
<xsl:if test="relatedmaterial/head=$TITEL_5_3">
|
318
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
319
|
-
<fo:basic-link internal-destination="DISP_TITEL_5_3"><xsl:copy-of select="$DISP_TITEL_5_3"/></fo:basic-link>
|
320
|
-
<fo:leader leader-pattern="dots"/>
|
321
|
-
<fo:page-number-citation ref-id="DISP_TITEL_5_3"/>
|
322
|
-
</fo:block>
|
323
|
-
</xsl:if>
|
324
|
-
<xsl:if test="bibliography/head=$TITEL_5_4">
|
325
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
326
|
-
<fo:basic-link internal-destination="DISP_TITEL_5_4"><xsl:copy-of select="$DISP_TITEL_5_4"/></fo:basic-link>
|
327
|
-
<fo:leader leader-pattern="dots"/>
|
328
|
-
<fo:page-number-citation ref-id="DISP_TITEL_5_4"/>
|
329
|
-
</fo:block>
|
330
|
-
</xsl:if>
|
331
|
-
</xsl:if>
|
332
|
-
<xsl:if test="head=$TITEL_6">
|
333
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
334
|
-
<fo:basic-link internal-destination="DISP_TITEL_6"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_6"/></fo:inline></fo:basic-link>
|
335
|
-
<fo:leader leader-pattern="dots"/>
|
336
|
-
<fo:page-number-citation ref-id="DISP_TITEL_6"/>
|
337
|
-
</fo:block>
|
338
|
-
<xsl:if test="note/head=$TITEL_6_1">
|
339
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
340
|
-
<fo:basic-link internal-destination="DISP_TITEL_6_1"><xsl:copy-of select="$DISP_TITEL_6_1"/></fo:basic-link>
|
341
|
-
<fo:leader leader-pattern="dots"/>
|
342
|
-
<fo:page-number-citation ref-id="DISP_TITEL_6_1"/>
|
343
|
-
</fo:block>
|
344
|
-
</xsl:if>
|
345
|
-
</xsl:if>
|
346
|
-
<xsl:if test="head=$TITEL_7">
|
347
|
-
<fo:block font-family="Times" space-after="2pt" keep-with-next="always" start-indent="1cm" text-align-last="justify">
|
348
|
-
<fo:basic-link internal-destination="DISP_TITEL_7"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_7"/></fo:inline></fo:basic-link>
|
349
|
-
<fo:leader leader-pattern="dots"/>
|
350
|
-
<fo:page-number-citation ref-id="DISP_TITEL_7"/>
|
351
|
-
</fo:block>
|
352
|
-
<xsl:if test="processinfo[@label='Verantwoording']/head=$TITEL_7_1">
|
353
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
354
|
-
<fo:basic-link internal-destination="DISP_TITEL_7_1"><xsl:copy-of select="$DISP_TITEL_7_1"/></fo:basic-link>
|
355
|
-
<fo:leader leader-pattern="dots"/>
|
356
|
-
<fo:page-number-citation ref-id="DISP_TITEL_7_1"/>
|
357
|
-
</fo:block>
|
358
|
-
</xsl:if>
|
359
|
-
<xsl:if test="descrules/head=$TITEL_7_2">
|
360
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
361
|
-
<fo:basic-link internal-destination="DISP_TITEL_7_2"><xsl:copy-of select="$DISP_TITEL_7_2"/></fo:basic-link>
|
362
|
-
<fo:leader leader-pattern="dots"/>
|
363
|
-
<fo:page-number-citation ref-id="DISP_TITEL_7_2"/>
|
364
|
-
</fo:block>
|
365
|
-
</xsl:if>
|
366
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/head=$TITEL_7_3">
|
367
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify"> <!--<fo:block start-indent="1.35cm" space-after="3pt">-->
|
368
|
-
<fo:basic-link internal-destination="DISP_TITEL_7_3"><xsl:copy-of select="$DISP_TITEL_7_3"/></fo:basic-link>
|
369
|
-
<fo:leader leader-pattern="dots"/>
|
370
|
-
<fo:page-number-citation ref-id="DISP_TITEL_7_3"/>
|
371
|
-
</fo:block>
|
372
|
-
</xsl:if>
|
373
|
-
<!-- trefwoorden not for pdf
|
374
|
-
<xsl:if test="/ead/archdesc/controlaccess">
|
375
|
-
<fo:block font-family="Times" start-indent="1.5cm" space-after="3pt" text-align-last="justify">
|
376
|
-
<fo:basic-link internal-destination="DISP_TITEL_7_4"><xsl:copy-of select="$DISP_TITEL_7_4"/></fo:basic-link>
|
377
|
-
<fo:leader leader-pattern="dots"/>
|
378
|
-
<fo:page-number-citation ref-id="DISP_TITEL_7_4"/>
|
379
|
-
</fo:block>
|
380
|
-
</xsl:if>
|
381
|
-
-->
|
382
|
-
</xsl:if>
|
383
|
-
</fo:block>
|
384
|
-
</xsl:for-each>
|
385
|
-
<!-- page break <fo:block break-after='page'/> -->
|
386
|
-
<xsl:if test="/ead/archdesc/dsc">
|
387
|
-
<xsl:choose>
|
388
|
-
<xsl:when test="not(/ead/archdesc/dsc/c/@level='Deelarchief' or /ead/archdesc/dsc/c/@level='Afdeling' or /ead/archdesc/dsc/c/@level='Onderafdeling' or /ead/archdesc/dsc/c/@level='Rubriek' or /ead/archdesc/dsc/c/@level='Subrubriek')">
|
389
|
-
<fo:block font-size="14pt" font-family="Times" space-before="0.1in" text-align-last="justify">
|
390
|
-
<fo:basic-link internal-destination="DISP_TITEL_8"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_8"/></fo:inline></fo:basic-link>
|
391
|
-
<fo:leader leader-pattern="dots"/>
|
392
|
-
<fo:page-number-citation ref-id="DISP_TITEL_8"/>
|
393
|
-
</fo:block>
|
394
|
-
</xsl:when>
|
395
|
-
<xsl:otherwise>
|
396
|
-
<fo:block font-size="14pt" font-family="Times" space-before="0.1in" text-align="left">
|
397
|
-
<fo:basic-link internal-destination="DISP_TITEL_8"><fo:inline font-weight="bold"><xsl:copy-of select="$DISP_TITEL_8"/></fo:inline></fo:basic-link>
|
398
|
-
</fo:block>
|
399
|
-
</xsl:otherwise>
|
400
|
-
</xsl:choose>
|
401
|
-
<fo:block font-size="12pt" font-family="Times" text-align="left">
|
402
|
-
<xsl:for-each select="archdesc/dsc">
|
403
|
-
<xsl:apply-templates select="c" mode="heading"/>
|
404
|
-
</xsl:for-each>
|
405
|
-
</fo:block>
|
406
|
-
</xsl:if>
|
407
|
-
|
408
|
-
</xsl:template>
|
409
|
-
<xsl:template match="c" mode="heading">
|
410
|
-
<xsl:if test="@level='Deelarchief' or @level='Afdeling' or @level='Onderafdeling' or @level='Rubriek' or @level='Subrubriek'">
|
411
|
-
<xsl:variable name="cid"><xsl:value-of select="@id"/></xsl:variable>
|
412
|
-
<xsl:for-each select="did">
|
413
|
-
<fo:list-block provisional-distance-between-starts="0cm" provisional-label-separation="0.1cm">
|
414
|
-
<xsl:attribute name="space-after">
|
415
|
-
<xsl:choose>
|
416
|
-
<xsl:when test="ancestor::c"><xsl:text>0pt</xsl:text></xsl:when>
|
417
|
-
<xsl:otherwise><xsl:text>12pt</xsl:text></xsl:otherwise>
|
418
|
-
</xsl:choose>
|
419
|
-
</xsl:attribute>
|
420
|
-
<xsl:attribute name="start-indent">
|
421
|
-
<xsl:variable name="ancestors">
|
422
|
-
<xsl:choose>
|
423
|
-
<xsl:when test="count(ancestor::c) = 1">
|
424
|
-
<xsl:value-of select="count(ancestor::c) * 1"/>
|
425
|
-
</xsl:when>
|
426
|
-
<xsl:when test="count(ancestor::c)">
|
427
|
-
<xsl:value-of select="1 + count(ancestor::c) * 0.75"/><!--<xsl:value-of select="1 + count(ancestor::c) * 0.50"/>-->
|
428
|
-
</xsl:when>
|
429
|
-
<xsl:otherwise>
|
430
|
-
<xsl:text>1</xsl:text>
|
431
|
-
</xsl:otherwise>
|
432
|
-
</xsl:choose>
|
433
|
-
</xsl:variable>
|
434
|
-
<xsl:value-of select="concat($ancestors, 'cm')"/>
|
435
|
-
</xsl:attribute>
|
436
|
-
<fo:list-item>
|
437
|
-
<fo:list-item-label end-indent="label-end()">
|
438
|
-
<fo:block font-family="Times">
|
439
|
-
<xsl:variable name="value-attr">
|
440
|
-
<xsl:choose>
|
441
|
-
<xsl:when test="../@start"><xsl:number value="position() + ../@start - 1"/></xsl:when>
|
442
|
-
<xsl:otherwise><xsl:number value="position()"/></xsl:otherwise>
|
443
|
-
</xsl:choose>
|
444
|
-
</xsl:variable>
|
445
|
-
</fo:block>
|
446
|
-
</fo:list-item-label>
|
447
|
-
<fo:list-item-body start-indent="body-start()">
|
448
|
-
<fo:block font-family="Times" text-align-last="justify">
|
449
|
-
<fo:basic-link>
|
450
|
-
<xsl:attribute name="internal-destination">lnk_<xsl:value-of select="$cid"/></xsl:attribute>
|
451
|
-
<xsl:if test="unittitle[@label='Titel']/p/text()">
|
452
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
453
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
454
|
-
</xsl:if>
|
455
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/></xsl:if>
|
456
|
-
<xsl:if test="not(unittitle[@label='Titel']/p/text())"><xsl:value-of select="unitid/@identifier"/></xsl:if>
|
457
|
-
</fo:basic-link>
|
458
|
-
<fo:leader leader-pattern="dots"/>
|
459
|
-
<fo:page-number-citation>
|
460
|
-
<xsl:attribute name="ref-id">lnk_<xsl:value-of select="$cid"/></xsl:attribute>
|
461
|
-
</fo:page-number-citation>
|
462
|
-
</fo:block>
|
463
|
-
</fo:list-item-body>
|
464
|
-
</fo:list-item>
|
465
|
-
</fo:list-block>
|
466
|
-
<xsl:apply-templates select="c" mode="heading"/>
|
467
|
-
</xsl:for-each>
|
468
|
-
</xsl:if>
|
469
|
-
</xsl:template>
|
470
|
-
<xsl:template match="c" mode="detail">
|
471
|
-
<xsl:if test="@level='Deelarchief' or @level='Afdeling' or @level='Onderafdeling' or @level='Rubriek' or @level='Subrubriek'">
|
472
|
-
<fo:block font-family="Times"><xsl:attribute name="id">lnk_<xsl:value-of select="@id"/></xsl:attribute></fo:block>
|
473
|
-
</xsl:if>
|
474
|
-
<xsl:for-each select="did">
|
475
|
-
<fo:block font-family="Times" space-before="0.08cm" space-after="0.08cm"/>
|
476
|
-
<xsl:if test="../@level='Deelarchief' or ../@level='Afdeling' or ../@level='Onderafdeling' or ../@level='Rubriek' or ../@level='Subrubriek' or ../@level='Reeks' or ../@level='Deelreeks'">
|
477
|
-
<fo:block font-family="Times" keep-together.within-page="42">
|
478
|
-
<xsl:choose>
|
479
|
-
<xsl:when test="../@level='Deelarchief'">
|
480
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Deelarchief_pt"/></xsl:attribute>
|
481
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
482
|
-
</xsl:when>
|
483
|
-
<xsl:when test="../@level='Afdeling'">
|
484
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Afdeling_pt"/></xsl:attribute>
|
485
|
-
<xsl:attribute name="font-variant">small-caps</xsl:attribute>
|
486
|
-
</xsl:when>
|
487
|
-
<xsl:when test="../@level='Onderafdeling'">
|
488
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Onderafdeling_pt"/></xsl:attribute>
|
489
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
490
|
-
</xsl:when>
|
491
|
-
<xsl:when test="../@level='Rubriek'">
|
492
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Rubriek_pt"/></xsl:attribute>
|
493
|
-
<xsl:attribute name="font-variant">small-caps</xsl:attribute>
|
494
|
-
</xsl:when>
|
495
|
-
<xsl:when test="../@level='Subrubriek'">
|
496
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Subrubriek_pt"/></xsl:attribute>
|
497
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
498
|
-
<xsl:attribute name="font-style">italic</xsl:attribute>
|
499
|
-
</xsl:when>
|
500
|
-
<xsl:when test="../@level='Reeks'">
|
501
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Reeks_pt"/></xsl:attribute>
|
502
|
-
<xsl:attribute name="text-transform">uppercase</xsl:attribute>
|
503
|
-
<xsl:attribute name="font-style">italic</xsl:attribute>
|
504
|
-
</xsl:when>
|
505
|
-
<xsl:when test="../@level='Deelreeks'">
|
506
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Deelreeks_pt"/></xsl:attribute>
|
507
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
508
|
-
</xsl:when>
|
509
|
-
<xsl:otherwise>
|
510
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Deelarchief_pt"/></xsl:attribute>
|
511
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
512
|
-
<!--<xsl:attribute name="font-size"><xsl:value-of select="$Onderafdeling_pt"/></xsl:attribute>-->
|
513
|
-
</xsl:otherwise>
|
514
|
-
</xsl:choose>
|
515
|
-
|
516
|
-
<xsl:if test="unittitle[@label='Titel']/p/text()">
|
517
|
-
<xsl:if test="string(unitid)">
|
518
|
-
<fo:block font-family="Times">
|
519
|
-
<xsl:if test="not(contains(../../../@level,'meervoudige beschrijving'))">
|
520
|
-
<fo:inline font-weight="bold"><xsl:value-of select="unitid"/><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </fo:inline></xsl:if>
|
521
|
-
<xsl:if test="(contains(../../../@level,'meervoudige beschrijving'))">
|
522
|
-
<xsl:value-of select="unitid"/><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </xsl:if>
|
523
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
524
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> </xsl:if>
|
525
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/>
|
526
|
-
</fo:block>
|
527
|
-
</xsl:if>
|
528
|
-
<xsl:if test="not(string(unitid))">
|
529
|
-
<fo:block font-family="Times">
|
530
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
531
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> </xsl:if>
|
532
|
-
<xsl:value-of select="unittitle[@label='Titel']/p/text()"/>
|
533
|
-
</fo:block>
|
534
|
-
</xsl:if>
|
535
|
-
</xsl:if>
|
536
|
-
<xsl:if test="../@level = 'Subrubriek' or ../@level = 'Reeks' or ../@level = 'Deelreeks'">
|
537
|
-
<xsl:if test="unitdate[@label='Datum']/p/text()">
|
538
|
-
<fo:block font-family="Times">
|
539
|
-
<xsl:for-each select="unitdate[@label='Datum']/p/text()">
|
540
|
-
<xsl:value-of select="."/><xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
541
|
-
</xsl:for-each>
|
542
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
543
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
544
|
-
<xsl:if test="position()=1">
|
545
|
-
<xsl:call-template name="initCap">
|
546
|
-
<xsl:with-param name="x" select="."/>
|
547
|
-
</xsl:call-template>
|
548
|
-
</xsl:if>
|
549
|
-
<xsl:if test="position() > 1">
|
550
|
-
<xsl:if test="position() = last()">
|
551
|
-
<xsl:value-of select="'en '"/>
|
552
|
-
</xsl:if>
|
553
|
-
|
554
|
-
<xsl:value-of select="."/>
|
555
|
-
</xsl:if>
|
556
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
557
|
-
<xsl:if test="position()=last()"><xsl:text>.</xsl:text></xsl:if>
|
558
|
-
</xsl:for-each>
|
559
|
-
</xsl:if>
|
560
|
-
</fo:block>
|
561
|
-
</xsl:if>
|
562
|
-
</xsl:if>
|
563
|
-
|
564
|
-
<xsl:if test="not(../@level = 'Subrubriek' or ../@level = 'Reeks' or ../@level = 'Deelreeks')">
|
565
|
-
|
566
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
567
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
568
|
-
<xsl:if test="position()=1">
|
569
|
-
<xsl:call-template name="initCap">
|
570
|
-
<xsl:with-param name="x" select="."/>
|
571
|
-
</xsl:call-template>
|
572
|
-
</xsl:if>
|
573
|
-
<xsl:if test="position() > 1">
|
574
|
-
<xsl:if test="position() = last()">
|
575
|
-
<xsl:value-of select="'en '"/>
|
576
|
-
</xsl:if>
|
577
|
-
|
578
|
-
<xsl:value-of select="."/>
|
579
|
-
</xsl:if>
|
580
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
581
|
-
<xsl:if test="position()=last()"><xsl:text>.</xsl:text></xsl:if>
|
582
|
-
</xsl:for-each>
|
583
|
-
</xsl:if>
|
584
|
-
|
585
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
586
|
-
<fo:block font-family="Times">
|
587
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
588
|
-
<xsl:if test="position()=1">
|
589
|
-
<xsl:call-template name="initCap">
|
590
|
-
<xsl:with-param name="x" select="."/>
|
591
|
-
</xsl:call-template>
|
592
|
-
</xsl:if>
|
593
|
-
<xsl:if test="position() > 1">
|
594
|
-
<xsl:if test="position() = last()">
|
595
|
-
<xsl:value-of select="'en '"/>
|
596
|
-
</xsl:if>
|
597
|
-
|
598
|
-
<xsl:value-of select="."/>
|
599
|
-
</xsl:if>
|
600
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
601
|
-
<xsl:if test="position()=last()"><xsl:text>.</xsl:text></xsl:if>
|
602
|
-
<!--
|
603
|
-
<xsl:value-of select="."/>
|
604
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
605
|
-
<xsl:if test="not(following-sibling::*)"><xsl:value-of select="'.'"/> </xsl:if>
|
606
|
-
-->
|
607
|
-
</xsl:for-each>
|
608
|
-
</fo:block>
|
609
|
-
</xsl:if>
|
610
|
-
</xsl:if>
|
611
|
-
|
612
|
-
<xsl:if test="dao">
|
613
|
-
<!--<fo:block font-family="Times" font-style="italic"> -->
|
614
|
-
<fo:block font-family="Times">
|
615
|
-
<xsl:for-each select="dao">
|
616
|
-
<fo:basic-link font-weight="bold">
|
617
|
-
<xsl:attribute name="external-destination"><xsl:value-of select="@href"/></xsl:attribute><xsl:value-of select="@title"/></fo:basic-link>
|
618
|
-
<xsl:if test="following-sibling::*"><fo:block/></xsl:if>
|
619
|
-
</xsl:for-each>
|
620
|
-
</fo:block>
|
621
|
-
</xsl:if>
|
622
|
-
<xsl:if test="relatedmaterial/p/text()">
|
623
|
-
<fo:block font-family="Times">
|
624
|
-
<xsl:for-each select="relatedmaterial/p/text()">
|
625
|
-
<xsl:value-of select="."/>
|
626
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
627
|
-
</xsl:for-each>
|
628
|
-
</fo:block>
|
629
|
-
</xsl:if>
|
630
|
-
<xsl:if test="physdesc/extent/p/text()">
|
631
|
-
<!--<fo:block font-family="Times" font-style="italic"> -->
|
632
|
-
<fo:block font-family="Times">
|
633
|
-
<xsl:for-each select="physdesc/extent/p/text()">
|
634
|
-
<xsl:value-of select="."/>
|
635
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
636
|
-
</xsl:for-each>
|
637
|
-
</fo:block>
|
638
|
-
</xsl:if>
|
639
|
-
|
640
|
-
<xsl:for-each select="relatedmaterial/archref">
|
641
|
-
<fo:block font-family="Times">
|
642
|
-
<!--<fo:block font-family="Times" font-size="8pt">-->
|
643
|
-
<!--<xsl:attribute name="font-size"><xsl:value-of select="$Bestanddeel_pt"/></xsl:attribute>-->
|
644
|
-
<xsl:if test="string(note)">[<xsl:value-of select="note"/>] : </xsl:if>
|
645
|
-
<xsl:value-of select="unittitle"/>
|
646
|
-
</fo:block>
|
647
|
-
</xsl:for-each>
|
648
|
-
</fo:block>
|
649
|
-
</xsl:if>
|
650
|
-
<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'">
|
651
|
-
<fo:block font-family="Times" keep-together.within-page="42">
|
652
|
-
<xsl:choose>
|
653
|
-
<xsl:when test="../@level='Reeks - meervoudige beschrijving'">
|
654
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$ReeksMB_pt"/></xsl:attribute>
|
655
|
-
</xsl:when>
|
656
|
-
<xsl:when test="../@level='Deelreeks - meervoudige beschrijving'">
|
657
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$DeelreeksMB_pt"/></xsl:attribute>
|
658
|
-
</xsl:when>
|
659
|
-
<xsl:when test="../@level='Bestanddeel'">
|
660
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Bestanddeel_pt"/></xsl:attribute>
|
661
|
-
</xsl:when>
|
662
|
-
<xsl:when test="../@level='Bestanddeel - meervoudige beschrijving'">
|
663
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$BestanddeelMB_pt"/></xsl:attribute>
|
664
|
-
</xsl:when>
|
665
|
-
<xsl:when test="../@level='Subbestanddeel'">
|
666
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Subbestanddeel_pt"/></xsl:attribute>
|
667
|
-
</xsl:when>
|
668
|
-
<xsl:when test="../@level='Subbestanddeel - meervoudige beschrijving'">
|
669
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$SubbestanddeelMB_pt"/></xsl:attribute>
|
670
|
-
</xsl:when>
|
671
|
-
<xsl:when test="../@level='Stuk'">
|
672
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Stuk_pt"/></xsl:attribute>
|
673
|
-
</xsl:when>
|
674
|
-
<xsl:otherwise>
|
675
|
-
<xsl:attribute name="font-size"><xsl:value-of select="$Onderafdeling_pt"/></xsl:attribute>
|
676
|
-
</xsl:otherwise>
|
677
|
-
</xsl:choose>
|
678
|
-
<xsl:variable name="utitle"><xsl:if test="unittitle[@label='Formele titel']/p/text()"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/><xsl:value-of select="'.'"/> </xsl:if><xsl:value-of select="normalize-space(unittitle[@label='Titel']/p/text())"/></xsl:variable>
|
679
|
-
<xsl:variable name="CLength">
|
680
|
-
<xsl:if test="string(unitid)">
|
681
|
-
<xsl:if test="(string-length(unitid) > 12)">
|
682
|
-
<xsl:value-of select="string-length(unitid)+ 2 + string-length($GAP)"/>
|
683
|
-
</xsl:if>
|
684
|
-
<xsl:if test="not(string-length(unitid) > 12)">
|
685
|
-
<xsl:value-of select="12 + string-length($GAP)"/>
|
686
|
-
</xsl:if>
|
687
|
-
<!--<xsl:value-of select="string-length(unitid)+ string-length($GAP)"/>-->
|
688
|
-
</xsl:if>
|
689
|
-
<xsl:if test="not(string(unitid))">
|
690
|
-
<xsl:value-of select="'0'"/>
|
691
|
-
</xsl:if>
|
692
|
-
</xsl:variable>
|
693
|
-
<fo:table table-layout="fixed" width="100%">
|
694
|
-
<xsl:if test="$CLength='0'">
|
695
|
-
<fo:table-column column-width="100%"/>
|
696
|
-
</xsl:if>
|
697
|
-
<xsl:if test="$CLength!='0'">
|
698
|
-
<fo:table-column>
|
699
|
-
<!--<xsl:attribute name="column-width"><xsl:value-of select="concat($CLength*1.5,'mm')"/></xsl:attribute>-->
|
700
|
-
<xsl:attribute name="column-width"><xsl:value-of select="concat($CLength*1,'mm')"/></xsl:attribute>
|
701
|
-
</fo:table-column>
|
702
|
-
<fo:table-column column-width="proportional-column-width(1)"/>
|
703
|
-
</xsl:if>
|
704
|
-
<fo:table-body>
|
705
|
-
<fo:table-row>
|
706
|
-
<xsl:if test="string(unitid)">
|
707
|
-
<fo:table-cell>
|
708
|
-
<fo:block font-family="Times" wrap-option="no-wrap">
|
709
|
-
<fo:basic-link>
|
710
|
-
<xsl:attribute name="external-destination"><xsl:value-of select="concat($XML_SCOPE_OPAC,../@id)"/></xsl:attribute>
|
711
|
-
<xsl:if test="not(contains(../../../@level,'meervoudige beschrijving'))">
|
712
|
-
<fo:inline font-weight="bold"><xsl:value-of select="unitid"/><xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </fo:inline></xsl:if>
|
713
|
-
<xsl:if test="(contains(../../../@level,'meervoudige beschrijving'))"><xsl:value-of select="unitid"/>
|
714
|
-
<xsl:if test="substring(unitid,string-length(unitid),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </xsl:if>
|
715
|
-
</fo:basic-link>
|
716
|
-
</fo:block>
|
717
|
-
</fo:table-cell>
|
718
|
-
<fo:table-cell>
|
719
|
-
<fo:block font-family="Times">
|
720
|
-
<xsl:if test="substring($utitle,string-length($utitle),1) != '.'">
|
721
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
722
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
723
|
-
</xsl:if>
|
724
|
-
<xsl:value-of select="normalize-space(unittitle[@label='Titel']/p/text())"/><xsl:value-of select="'.'"/>
|
725
|
-
<!--<xsl:value-of select="concat($utitle,'.')"/>-->
|
726
|
-
</xsl:if>
|
727
|
-
<xsl:if test="substring($utitle,string-length($utitle),1) = '.'">
|
728
|
-
<xsl:if test="substring($utitle,string-length($utitle)-1,1) = '.'">
|
729
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
730
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
731
|
-
</xsl:if>
|
732
|
-
<xsl:value-of select="substring(normalize-space(unittitle[@label='Titel']/p/text()),1,string-length(normalize-space(unittitle[@label='Titel']/p/text()))-1)"/>
|
733
|
-
<!--<xsl:value-of select="substring($utitle,1,string-length($utitle)-1)"/>-->
|
734
|
-
</xsl:if>
|
735
|
-
<xsl:if test="not(substring($utitle,string-length($utitle)-1,1) = '.')">
|
736
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
737
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
738
|
-
</xsl:if>
|
739
|
-
<xsl:value-of select="normalize-space(unittitle[@label='Titel']/p/text())"/>
|
740
|
-
<!--<xsl:value-of select="$utitle"/>-->
|
741
|
-
</xsl:if>
|
742
|
-
</xsl:if>
|
743
|
-
</fo:block>
|
744
|
-
</fo:table-cell>
|
745
|
-
</xsl:if>
|
746
|
-
<xsl:if test="not(string(unitid))">
|
747
|
-
<fo:table-cell>
|
748
|
-
<fo:block font-family="Times" wrap-option="no-wrap">
|
749
|
-
<fo:basic-link>
|
750
|
-
<xsl:attribute name="external-destination"><xsl:value-of select="concat($XML_SCOPE_OPAC,../@id)"/></xsl:attribute>
|
751
|
-
<xsl:if test="substring($utitle,string-length($utitle),1) != '.'">
|
752
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
753
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
754
|
-
</xsl:if>
|
755
|
-
<xsl:value-of select="normalize-space(unittitle[@label='Titel']/p/text())"/><xsl:value-of select="'.'"/>
|
756
|
-
<!--<xsl:value-of select="concat($utitle,'.')"/>-->
|
757
|
-
</xsl:if>
|
758
|
-
<xsl:if test="substring($utitle,string-length($utitle),1) = '.'">
|
759
|
-
<xsl:if test="substring($utitle,string-length($utitle)-1,1) = '.'">
|
760
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
761
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
762
|
-
</xsl:if>
|
763
|
-
<xsl:value-of select="substring(normalize-space(unittitle[@label='Titel']/p/text()),1,string-length(normalize-space(unittitle[@label='Titel']/p/text()))-1)"/>
|
764
|
-
<!--<xsl:value-of select="substring($utitle,1,string-length($utitle)-1)"/>-->
|
765
|
-
</xsl:if>
|
766
|
-
<xsl:if test="not(substring($utitle,string-length($utitle)-1,1) = '.')">
|
767
|
-
<xsl:if test="unittitle[@label='Formele titel']/p/text()">
|
768
|
-
<fo:inline font-style="italic"><xsl:value-of select="unittitle[@label='Formele titel']/p/text()"/></fo:inline><xsl:value-of select="'.'"/> 
|
769
|
-
</xsl:if>
|
770
|
-
<xsl:value-of select="normalize-space(unittitle[@label='Titel']/p/text())"/>
|
771
|
-
<!--<xsl:value-of select="$utitle"/>-->
|
772
|
-
</xsl:if>
|
773
|
-
</xsl:if>
|
774
|
-
</fo:basic-link>
|
775
|
-
</fo:block>
|
776
|
-
</fo:table-cell>
|
777
|
-
</xsl:if>
|
778
|
-
</fo:table-row>
|
779
|
-
<xsl:if test="unitdate[@label='Datum']/p/text()">
|
780
|
-
<fo:table-row>
|
781
|
-
<xsl:if test="(string(unitid))">
|
782
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
783
|
-
</xsl:if>
|
784
|
-
<fo:table-cell>
|
785
|
-
<fo:block font-family="Times">
|
786
|
-
<xsl:for-each select="unitdate[@label='Datum']/p/text()">
|
787
|
-
<xsl:value-of select="."/>
|
788
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
789
|
-
<xsl:if test="not(following-sibling::*)"><xsl:if test="substring(.,string-length(.),1) != '.'"><xsl:value-of select="'.'"/></xsl:if> </xsl:if>
|
790
|
-
</xsl:for-each>
|
791
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
792
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
793
|
-
<xsl:value-of select="."/>
|
794
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
795
|
-
<xsl:if test="position()=last()"><xsl:text>.</xsl:text></xsl:if>
|
796
|
-
</xsl:for-each>
|
797
|
-
</xsl:if>
|
798
|
-
</fo:block>
|
799
|
-
</fo:table-cell>
|
800
|
-
</fo:table-row>
|
801
|
-
</xsl:if>
|
802
|
-
<xsl:if test="not(unitdate[@label='Datum']/p/text())">
|
803
|
-
<xsl:if test="physdesc/physfacet/p/text()">
|
804
|
-
<fo:table-row>
|
805
|
-
<xsl:if test="(string(unitid))">
|
806
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
807
|
-
</xsl:if>
|
808
|
-
<fo:table-cell>
|
809
|
-
<fo:block font-family="Times">
|
810
|
-
<xsl:for-each select="physdesc/physfacet/p/text()">
|
811
|
-
<xsl:value-of select="."/>
|
812
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
813
|
-
<xsl:if test="position()=last()"><xsl:text>.</xsl:text></xsl:if>
|
814
|
-
</xsl:for-each>
|
815
|
-
</fo:block>
|
816
|
-
</fo:table-cell>
|
817
|
-
</fo:table-row>
|
818
|
-
</xsl:if>
|
819
|
-
</xsl:if>
|
820
|
-
<xsl:if test="dao">
|
821
|
-
<!--<fo:block font-family="Times" font-style="italic"> -->
|
822
|
-
<fo:table-row>
|
823
|
-
<xsl:if test="(string(unitid))">
|
824
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
825
|
-
</xsl:if>
|
826
|
-
<fo:table-cell>
|
827
|
-
<fo:block font-family="Times">
|
828
|
-
<xsl:for-each select="dao">
|
829
|
-
<fo:basic-link font-weight="bold">
|
830
|
-
<xsl:attribute name="external-destination"><xsl:value-of select="@href"/></xsl:attribute><xsl:value-of select="@title"/></fo:basic-link>
|
831
|
-
<xsl:if test="following-sibling::*"><fo:block/></xsl:if>
|
832
|
-
</xsl:for-each>
|
833
|
-
</fo:block>
|
834
|
-
</fo:table-cell>
|
835
|
-
</fo:table-row>
|
836
|
-
</xsl:if>
|
837
|
-
|
838
|
-
|
839
|
-
<xsl:if test="relatedmaterial/p/text()">
|
840
|
-
<fo:table-row>
|
841
|
-
<xsl:if test="(string(unitid))">
|
842
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
843
|
-
</xsl:if>
|
844
|
-
<fo:table-cell>
|
845
|
-
<fo:block font-family="Times">
|
846
|
-
<xsl:for-each select="relatedmaterial/p/text()">
|
847
|
-
<xsl:value-of select="."/>
|
848
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
849
|
-
</xsl:for-each>
|
850
|
-
</fo:block>
|
851
|
-
</fo:table-cell>
|
852
|
-
</fo:table-row>
|
853
|
-
</xsl:if>
|
854
|
-
<xsl:if test="physdesc/extent/p/text()">
|
855
|
-
<fo:table-row>
|
856
|
-
<xsl:if test="(string(unitid))">
|
857
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
858
|
-
</xsl:if>
|
859
|
-
<fo:table-cell>
|
860
|
-
<fo:block font-family="Times">
|
861
|
-
<xsl:for-each select="physdesc/extent/p/text()">
|
862
|
-
<xsl:value-of select="."/>
|
863
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
864
|
-
</xsl:for-each>
|
865
|
-
</fo:block>
|
866
|
-
</fo:table-cell>
|
867
|
-
</fo:table-row>
|
868
|
-
</xsl:if>
|
869
|
-
<xsl:if test="scopecontent[@label='Inhoud']/p/text()">
|
870
|
-
<fo:table-row>
|
871
|
-
<xsl:if test="(string(unitid))">
|
872
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
873
|
-
</xsl:if>
|
874
|
-
<fo:table-cell>
|
875
|
-
<fo:block font-family="Times" font-size="8pt">
|
876
|
-
<xsl:for-each select="scopecontent[@label='Inhoud']/p/text()">
|
877
|
-
<xsl:call-template name="substitute">
|
878
|
-
<xsl:with-param name="string" select="." />
|
879
|
-
</xsl:call-template>
|
880
|
-
<xsl:if test="following-sibling::*"><fo:block/></xsl:if>
|
881
|
-
</xsl:for-each>
|
882
|
-
</fo:block>
|
883
|
-
</fo:table-cell>
|
884
|
-
</fo:table-row>
|
885
|
-
</xsl:if>
|
886
|
-
<xsl:if test="(string(unitid))">
|
887
|
-
<xsl:for-each select="relatedmaterial/archref">
|
888
|
-
<fo:table-row>
|
889
|
-
<fo:table-cell><fo:block font-family="Times"><xsl:value-of select="' '"/></fo:block></fo:table-cell>
|
890
|
-
<fo:table-cell>
|
891
|
-
<fo:block font-family="Times">
|
892
|
-
<!--<fo:block font-family="Times" font-size="8pt">-->
|
893
|
-
<xsl:if test="string(note)">[<xsl:value-of select="note"/>] : </xsl:if>
|
894
|
-
<xsl:value-of select="unittitle"/>
|
895
|
-
</fo:block>
|
896
|
-
</fo:table-cell>
|
897
|
-
</fo:table-row>
|
898
|
-
</xsl:for-each>
|
899
|
-
</xsl:if>
|
900
|
-
<xsl:if test="not(string(unitid))">
|
901
|
-
<xsl:for-each select="relatedmaterial/archref">
|
902
|
-
<fo:table-row>
|
903
|
-
<fo:table-cell>
|
904
|
-
|
905
|
-
<fo:block font-family="Times">
|
906
|
-
<!--<fo:block font-family="Times" font-size="8pt">-->
|
907
|
-
<xsl:if test="string(note)">[<xsl:value-of select="note"/>] : </xsl:if>
|
908
|
-
<xsl:value-of select="unittitle"/>
|
909
|
-
</fo:block>
|
910
|
-
</fo:table-cell>
|
911
|
-
</fo:table-row>
|
912
|
-
</xsl:for-each>
|
913
|
-
</xsl:if>
|
914
|
-
</fo:table-body>
|
915
|
-
</fo:table>
|
916
|
-
</fo:block>
|
917
|
-
<fo:block/>
|
918
|
-
</xsl:if>
|
919
|
-
<xsl:apply-templates select="c" mode="detail"/>
|
920
|
-
<fo:block font-family="Times" space-before="0.08cm" space-after="0.08cm"/>
|
921
|
-
</xsl:for-each>
|
922
|
-
</xsl:template>
|
923
|
-
<xsl:template name="substitute">
|
924
|
-
<xsl:param name="string" />
|
925
|
-
<xsl:param name="from" select="'
'" />
|
926
|
-
<xsl:param name="to">
|
927
|
-
<fo:block/>
|
928
|
-
</xsl:param>
|
929
|
-
<xsl:choose>
|
930
|
-
<xsl:when test="contains($string, $from)">
|
931
|
-
<xsl:value-of select="substring-before($string, $from)" />
|
932
|
-
<xsl:copy-of select="$to" />
|
933
|
-
<xsl:call-template name="substitute">
|
934
|
-
<xsl:with-param name="string"
|
935
|
-
select="substring-after($string, $from)" />
|
936
|
-
<xsl:with-param name="from" select="$from" />
|
937
|
-
<xsl:with-param name="to" select="$to" />
|
938
|
-
</xsl:call-template>
|
939
|
-
</xsl:when>
|
940
|
-
<xsl:otherwise>
|
941
|
-
<xsl:value-of select="$string" />
|
942
|
-
</xsl:otherwise>
|
943
|
-
</xsl:choose>
|
944
|
-
</xsl:template>
|
945
|
-
<xsl:template match="archdesc/descgrp">
|
946
|
-
<fo:block font-family="Times" font-size="12pt">
|
947
|
-
<xsl:if test="head=$TITEL_1">
|
948
|
-
<fo:block keep-together.within-page="42">
|
949
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_1">
|
950
|
-
<xsl:copy-of select="$DISP_TITEL_1"/>
|
951
|
-
</fo:block>
|
952
|
-
<fo:block/>
|
953
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_1_1">
|
954
|
-
<xsl:copy-of select="$DISP_TITEL_1_1"/>
|
955
|
-
</fo:block>
|
956
|
-
<fo:block/>
|
957
|
-
<fo:block font-family="Times">
|
958
|
-
<xsl:apply-templates select="unitid/@repositorycode"/><xsl:value-of select="' of'"/><fo:block/>
|
959
|
-
<xsl:apply-templates select="repository/corpname"/>
|
960
|
-
<xsl:if test="unittitle"><xsl:value-of select="', '"/><xsl:apply-templates select="unittitle"/></xsl:if>
|
961
|
-
<fo:block/>
|
962
|
-
|
963
|
-
</fo:block>
|
964
|
-
|
965
|
-
<xsl:if test="unittitle">
|
966
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_1_2">
|
967
|
-
<xsl:copy-of select="$DISP_TITEL_1_2"/>
|
968
|
-
</fo:block>
|
969
|
-
<fo:block/>
|
970
|
-
<fo:block font-family="Times">
|
971
|
-
<xsl:apply-templates select="unittitle"/>
|
972
|
-
</fo:block>
|
973
|
-
</xsl:if>
|
974
|
-
|
975
|
-
<xsl:if test="unitdate">
|
976
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_1_3">
|
977
|
-
<xsl:copy-of select="$DISP_TITEL_1_3"/>
|
978
|
-
</fo:block>
|
979
|
-
<fo:block/>
|
980
|
-
<fo:block font-family="Times">
|
981
|
-
<xsl:apply-templates select="unitdate"/>
|
982
|
-
</fo:block>
|
983
|
-
</xsl:if>
|
984
|
-
<xsl:if test="physdesc/extent[@label='Omvang']">
|
985
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_1_4">
|
986
|
-
<xsl:copy-of select="$DISP_TITEL_1_4"/>
|
987
|
-
</fo:block>
|
988
|
-
<fo:block/>
|
989
|
-
<fo:block font-family="Times">
|
990
|
-
<xsl:apply-templates select="physdesc/extent[@label='Omvang']"/>
|
991
|
-
</fo:block>
|
992
|
-
</xsl:if>
|
993
|
-
<xsl:if test="physdesc/extent[@label='Opmerkingen']/p/text()">
|
994
|
-
<fo:block font-family="Times">
|
995
|
-
<xsl:copy-of select="$DISP_TITEL_OPM"/>
|
996
|
-
</fo:block>
|
997
|
-
<fo:block/>
|
998
|
-
<fo:block font-family="Times">
|
999
|
-
<xsl:apply-templates select="physdesc/extent[@label='Opmerkingen']"/>
|
1000
|
-
</fo:block>
|
1001
|
-
</xsl:if>
|
1002
|
-
<xsl:if test="physdesc/extent[@label='Aard archief']/p/text()">
|
1003
|
-
<fo:block font-family="Times">
|
1004
|
-
<xsl:copy-of select="$DISP_TITEL_AARD"/>
|
1005
|
-
</fo:block>
|
1006
|
-
<fo:block/>
|
1007
|
-
<fo:block font-family="Times">
|
1008
|
-
<xsl:apply-templates select="physdesc/extent[@label='Aard archief']"/>
|
1009
|
-
</fo:block>
|
1010
|
-
</xsl:if>
|
1011
|
-
</fo:block>
|
1012
|
-
</xsl:if>
|
1013
|
-
|
1014
|
-
|
1015
|
-
<xsl:if test="head=$TITEL_2">
|
1016
|
-
<fo:block keep-together.within-page="42">
|
1017
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_2">
|
1018
|
-
<xsl:copy-of select="$DISP_TITEL_2"/>
|
1019
|
-
</fo:block>
|
1020
|
-
<fo:block/>
|
1021
|
-
<xsl:if test="origination">
|
1022
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_2_1">
|
1023
|
-
<xsl:copy-of select="$DISP_TITEL_2_1"/>
|
1024
|
-
</fo:block>
|
1025
|
-
<fo:block/>
|
1026
|
-
<fo:block font-family="Times">
|
1027
|
-
<xsl:apply-templates select="origination/extref"/>
|
1028
|
-
</fo:block>
|
1029
|
-
<fo:block font-family="Times" font-style="italic">
|
1030
|
-
<xsl:value-of select="'Deze archiefvormer wordt systematisch beschreven in de databank ODIS (http://www.odis.be)'"/>
|
1031
|
-
</fo:block>
|
1032
|
-
</xsl:if>
|
1033
|
-
<xsl:if test="bioghist/p/text()">
|
1034
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_2_2">
|
1035
|
-
<xsl:copy-of select="$DISP_TITEL_2_2"/>
|
1036
|
-
</fo:block>
|
1037
|
-
<fo:block/>
|
1038
|
-
<fo:block font-family="Times">
|
1039
|
-
<xsl:apply-templates select="bioghist"/>
|
1040
|
-
</fo:block>
|
1041
|
-
</xsl:if>
|
1042
|
-
<xsl:if test="custodhist/p/text()">
|
1043
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_2_3">
|
1044
|
-
<xsl:copy-of select="$DISP_TITEL_2_3"/>
|
1045
|
-
</fo:block>
|
1046
|
-
<fo:block/>
|
1047
|
-
<fo:block font-family="Times">
|
1048
|
-
<xsl:apply-templates select="custodhist"/>
|
1049
|
-
</fo:block>
|
1050
|
-
</xsl:if>
|
1051
|
-
<xsl:if test="acqinfo/p/text()">
|
1052
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_2_4">
|
1053
|
-
<xsl:copy-of select="$DISP_TITEL_2_4"/>
|
1054
|
-
</fo:block>
|
1055
|
-
<fo:block/>
|
1056
|
-
<fo:block font-family="Times">
|
1057
|
-
<xsl:apply-templates select="acqinfo"/>
|
1058
|
-
</fo:block>
|
1059
|
-
</xsl:if>
|
1060
|
-
</fo:block>
|
1061
|
-
</xsl:if>
|
1062
|
-
|
1063
|
-
<xsl:if test="head=$TITEL_3">
|
1064
|
-
<fo:block keep-together.within-page="42">
|
1065
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_3">
|
1066
|
-
<xsl:copy-of select="$DISP_TITEL_3"/>
|
1067
|
-
</fo:block>
|
1068
|
-
<fo:block/>
|
1069
|
-
<xsl:if test="scopecontent/head=$TITEL_3_1">
|
1070
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_3_1">
|
1071
|
-
<xsl:copy-of select="$DISP_TITEL_3_1"/>
|
1072
|
-
</fo:block>
|
1073
|
-
<fo:block/>
|
1074
|
-
<fo:block font-family="Times">
|
1075
|
-
<xsl:apply-templates select="scopecontent/scopecontent[@label='Bereik en inhoud']"/>
|
1076
|
-
</fo:block>
|
1077
|
-
<xsl:if test="scopecontent/scopecontent[@label='Geografische informatie']/p/text()">
|
1078
|
-
<fo:block font-family="Times">
|
1079
|
-
<xsl:copy-of select="$DISP_TITEL_GEO"/>
|
1080
|
-
</fo:block>
|
1081
|
-
<fo:block/>
|
1082
|
-
<fo:block font-family="Times">
|
1083
|
-
<xsl:apply-templates select="scopecontent/scopecontent[@label='Geografische informatie']"/>
|
1084
|
-
</fo:block>
|
1085
|
-
</xsl:if>
|
1086
|
-
<xsl:if test="scopecontent/scopecontent[@label='Collectie periode']/p/text()">
|
1087
|
-
<fo:block font-family="Times">
|
1088
|
-
<xsl:copy-of select="$DISP_TITEL_COLL"/>
|
1089
|
-
</fo:block>
|
1090
|
-
<fo:block/>
|
1091
|
-
<fo:block font-family="Times">
|
1092
|
-
<xsl:apply-templates select="scopecontent/scopecontent[@label='Collectie periode']"/>
|
1093
|
-
</fo:block>
|
1094
|
-
</xsl:if>
|
1095
|
-
<xsl:if test="scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']/p/text()">
|
1096
|
-
<fo:block font-family="Times">
|
1097
|
-
<xsl:copy-of select="$DISP_TITEL_REL"/>
|
1098
|
-
</fo:block>
|
1099
|
-
<fo:block/>
|
1100
|
-
<fo:block font-family="Times">
|
1101
|
-
<xsl:apply-templates select="scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']"/>
|
1102
|
-
</fo:block>
|
1103
|
-
</xsl:if>
|
1104
|
-
</xsl:if>
|
1105
|
-
|
1106
|
-
<xsl:if test="appraisal/head=$TITEL_3_2">
|
1107
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_3_2">
|
1108
|
-
<xsl:copy-of select="$DISP_TITEL_3_2"/>
|
1109
|
-
</fo:block>
|
1110
|
-
<fo:block/>
|
1111
|
-
<fo:block font-family="Times">
|
1112
|
-
<xsl:apply-templates select="appraisal"/>
|
1113
|
-
</fo:block>
|
1114
|
-
</xsl:if>
|
1115
|
-
<xsl:if test="accruals/head=$TITEL_3_3">
|
1116
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_3_3">
|
1117
|
-
<xsl:copy-of select="$DISP_TITEL_3_3"/>
|
1118
|
-
</fo:block>
|
1119
|
-
<fo:block/>
|
1120
|
-
<fo:block font-family="Times">
|
1121
|
-
<xsl:apply-templates select="accruals"/>
|
1122
|
-
</fo:block>
|
1123
|
-
</xsl:if>
|
1124
|
-
<xsl:if test="arrangement/head=$TITEL_3_4">
|
1125
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_3_4">
|
1126
|
-
<xsl:copy-of select="$DISP_TITEL_3_4"/>
|
1127
|
-
</fo:block>
|
1128
|
-
<fo:block/>
|
1129
|
-
<fo:block font-family="Times">
|
1130
|
-
<xsl:apply-templates select="arrangement"/>
|
1131
|
-
</fo:block>
|
1132
|
-
</xsl:if>
|
1133
|
-
</fo:block>
|
1134
|
-
</xsl:if>
|
1135
|
-
<xsl:if test="head=$TITEL_4">
|
1136
|
-
<fo:block keep-together.within-page="42">
|
1137
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_4">
|
1138
|
-
<xsl:copy-of select="$DISP_TITEL_4"/>
|
1139
|
-
</fo:block>
|
1140
|
-
<fo:block/>
|
1141
|
-
<xsl:if test="accessrestrict/head=$TITEL_4_1">
|
1142
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_4_1">
|
1143
|
-
<xsl:copy-of select="$DISP_TITEL_4_1"/>
|
1144
|
-
</fo:block>
|
1145
|
-
<fo:block/>
|
1146
|
-
<fo:block font-family="Times">
|
1147
|
-
<xsl:apply-templates select="accessrestrict"/>
|
1148
|
-
</fo:block>
|
1149
|
-
</xsl:if>
|
1150
|
-
<xsl:if test="userestrict/head=$TITEL_4_2">
|
1151
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_4_2">
|
1152
|
-
<xsl:copy-of select="$DISP_TITEL_4_2"/>
|
1153
|
-
</fo:block>
|
1154
|
-
<fo:block/>
|
1155
|
-
<fo:block font-family="Times">
|
1156
|
-
<xsl:apply-templates select="userestrict"/>
|
1157
|
-
</fo:block>
|
1158
|
-
</xsl:if>
|
1159
|
-
<xsl:if test="langmaterial/head=$TITEL_4_3">
|
1160
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_4_3">
|
1161
|
-
<xsl:copy-of select="$DISP_TITEL_4_3"/>
|
1162
|
-
</fo:block>
|
1163
|
-
<fo:block/>
|
1164
|
-
<fo:block font-family="Times">
|
1165
|
-
<xsl:apply-templates select="langmaterial"/>
|
1166
|
-
</fo:block>
|
1167
|
-
</xsl:if>
|
1168
|
-
<xsl:if test="phystech/head=$TITEL_4_4">
|
1169
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_4_4">
|
1170
|
-
<xsl:copy-of select="$DISP_TITEL_4_4"/>
|
1171
|
-
</fo:block>
|
1172
|
-
<fo:block/>
|
1173
|
-
<fo:block font-family="Times">
|
1174
|
-
<xsl:apply-templates select="phystech"/>
|
1175
|
-
</fo:block>
|
1176
|
-
</xsl:if>
|
1177
|
-
<!--toegang is commented as its not needed now
|
1178
|
-
<xsl:if test="otherfindaid/head=$TITEL_4_5">
|
1179
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_4_5">
|
1180
|
-
<xsl:copy-of select="$DISP_TITEL_4_5"/>
|
1181
|
-
</fo:block>
|
1182
|
-
<fo:block/>
|
1183
|
-
<fo:block font-family="Times">
|
1184
|
-
<xsl:apply-templates select="otherfindaid"/>
|
1185
|
-
</fo:block>
|
1186
|
-
</xsl:if>
|
1187
|
-
-->
|
1188
|
-
</fo:block>
|
1189
|
-
</xsl:if>
|
1190
|
-
|
1191
|
-
<xsl:if test="head=$TITEL_5">
|
1192
|
-
<fo:block keep-together.within-page="42">
|
1193
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_5">
|
1194
|
-
<xsl:copy-of select="$DISP_TITEL_5"/>
|
1195
|
-
</fo:block>
|
1196
|
-
<fo:block/>
|
1197
|
-
<xsl:if test="originalsloc/head=$TITEL_5_1">
|
1198
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_5_1">
|
1199
|
-
<xsl:copy-of select="$DISP_TITEL_5_1"/>
|
1200
|
-
</fo:block>
|
1201
|
-
<fo:block/>
|
1202
|
-
<fo:block font-family="Times">
|
1203
|
-
<xsl:apply-templates select="originalsloc"/>
|
1204
|
-
</fo:block>
|
1205
|
-
</xsl:if>
|
1206
|
-
<xsl:if test="altformavail/head=$TITEL_5_2">
|
1207
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_5_2">
|
1208
|
-
<xsl:copy-of select="$DISP_TITEL_5_2"/>
|
1209
|
-
</fo:block>
|
1210
|
-
<fo:block/>
|
1211
|
-
<fo:block font-family="Times">
|
1212
|
-
<xsl:apply-templates select="altformavail"/>
|
1213
|
-
</fo:block>
|
1214
|
-
</xsl:if>
|
1215
|
-
<xsl:if test="relatedmaterial/head=$TITEL_5_3">
|
1216
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_5_3">
|
1217
|
-
<xsl:copy-of select="$DISP_TITEL_5_3"/>
|
1218
|
-
</fo:block>
|
1219
|
-
<fo:block/>
|
1220
|
-
<fo:block font-family="Times">
|
1221
|
-
<xsl:apply-templates select="relatedmaterial"/>
|
1222
|
-
</fo:block>
|
1223
|
-
</xsl:if>
|
1224
|
-
<xsl:if test="bibliography/head=$TITEL_5_4">
|
1225
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_5_4">
|
1226
|
-
<xsl:copy-of select="$DISP_TITEL_5_4"/>
|
1227
|
-
</fo:block>
|
1228
|
-
<fo:block/>
|
1229
|
-
<fo:block font-family="Times">
|
1230
|
-
<xsl:apply-templates select="bibliography"/>
|
1231
|
-
</fo:block>
|
1232
|
-
</xsl:if>
|
1233
|
-
</fo:block>
|
1234
|
-
</xsl:if>
|
1235
|
-
<xsl:if test="head=$TITEL_6">
|
1236
|
-
<fo:block keep-together.within-page="42">
|
1237
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_6">
|
1238
|
-
<xsl:copy-of select="$DISP_TITEL_6"/>
|
1239
|
-
</fo:block>
|
1240
|
-
<fo:block/>
|
1241
|
-
|
1242
|
-
<xsl:if test="note/head=$TITEL_6_1">
|
1243
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_6_1">
|
1244
|
-
<xsl:copy-of select="$DISP_TITEL_6_1"/>
|
1245
|
-
</fo:block>
|
1246
|
-
<fo:block/>
|
1247
|
-
<fo:block font-family="Times">
|
1248
|
-
<xsl:apply-templates select="note"/>
|
1249
|
-
</fo:block>
|
1250
|
-
</xsl:if>
|
1251
|
-
</fo:block>
|
1252
|
-
</xsl:if>
|
1253
|
-
|
1254
|
-
<xsl:if test="head=$TITEL_7">
|
1255
|
-
<fo:block keep-together.within-page="42">
|
1256
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_7">
|
1257
|
-
<xsl:copy-of select="$DISP_TITEL_7"/>
|
1258
|
-
</fo:block>
|
1259
|
-
<fo:block/>
|
1260
|
-
<xsl:if test="processinfo[@label='Verantwoording']/head=$TITEL_7_1">
|
1261
|
-
<xsl:if test="processinfo[@label='Verantwoording']/p/text()">
|
1262
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_7_1">
|
1263
|
-
<xsl:copy-of select="$DISP_TITEL_7_1"/>
|
1264
|
-
</fo:block>
|
1265
|
-
<fo:block/>
|
1266
|
-
<fo:block font-family="Times">
|
1267
|
-
<xsl:apply-templates select="processinfo[@label='Verantwoording']"/>
|
1268
|
-
</fo:block>
|
1269
|
-
</xsl:if>
|
1270
|
-
</xsl:if>
|
1271
|
-
<xsl:if test="descrules/head=$TITEL_7_2">
|
1272
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_7_2">
|
1273
|
-
<xsl:copy-of select="$DISP_TITEL_7_2"/>
|
1274
|
-
</fo:block>
|
1275
|
-
<fo:block/>
|
1276
|
-
<fo:block font-family="Times">
|
1277
|
-
<xsl:apply-templates select="descrules"/>
|
1278
|
-
</fo:block>
|
1279
|
-
</xsl:if>
|
1280
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/head=$TITEL_7_3">
|
1281
|
-
<xsl:if test="processinfo[@label='Datering van de beschrijvingen']/p/text()">
|
1282
|
-
<fo:block font-weight="bold" font-family="Times" space-before="0.1in" text-align="left" id="DISP_TITEL_7_3">
|
1283
|
-
<xsl:copy-of select="$DISP_TITEL_7_3"/>
|
1284
|
-
</fo:block>
|
1285
|
-
<fo:block/>
|
1286
|
-
<fo:block font-family="Times">
|
1287
|
-
<xsl:apply-templates select="processinfo[@label='Datering van de beschrijvingen']"/>
|
1288
|
-
</fo:block>
|
1289
|
-
</xsl:if>
|
1290
|
-
</xsl:if>
|
1291
|
-
</fo:block>
|
1292
|
-
</xsl:if>
|
1293
|
-
</fo:block>
|
1294
|
-
</xsl:template>
|
1295
|
-
<xsl:template name="returnTOC">
|
1296
|
-
<fo:block/>
|
1297
|
-
<fo:block space-before="0.1in" space-after="0.1in" font-weight="bold" color="red" font-family="Times" font-size="9pt"><fo:basic-link internal-destination="toc_gv" >Terug naar Inhoudstafel</fo:basic-link></fo:block>
|
1298
|
-
</xsl:template>
|
1299
|
-
<xsl:template name="returnTOC_nohr">
|
1300
|
-
<fo:block/>
|
1301
|
-
<fo:block space-before="0.1in" space-after="0.1in" font-weight="bold" color="red" font-family="Times" font-size="9pt"><fo:basic-link internal-destination="toc_gv" >Terug naar Inhoudstafel</fo:basic-link></fo:block>
|
1302
|
-
</xsl:template>
|
1303
|
-
<xsl:template match="langmaterial | appraisal | accruals | arrangement | accessrestrict | userestrict | phystech | otherfindaid
|
1304
|
-
| originalsloc | altformavail | relatedmaterial | bibliography | note | processinfo[@label='Verantwoording'] | descrules
|
1305
|
-
| processinfo[@label='Datering van de beschrijvingen'] | bioghist | custodhist
|
1306
|
-
| scopecontent/scopecontent[@label='Bereik en inhoud'] | scopecontent/scopecontent[@label='Geografische informatie']
|
1307
|
-
| scopecontent/scopecontent[@label='Collectie periode'] | scopecontent/scopecontent[@label='Gerelateerde organisaties/families/personen']
|
1308
|
-
| unitdate | physdesc/extent[@label='Omvang'] | physdesc/extent[@label='Opmerkingen'] | physdesc/extent[@label='Aard archief']">
|
1309
|
-
<xsl:for-each select="archref">
|
1310
|
-
<fo:block font-family="Times">
|
1311
|
-
<!--<fo:block font-family="Times" font-size="8pt">-->
|
1312
|
-
<xsl:if test="string(note)">[<xsl:value-of select="note"/>] : </xsl:if>
|
1313
|
-
<xsl:value-of select="unittitle"/>
|
1314
|
-
</fo:block>
|
1315
|
-
<fo:block/>
|
1316
|
-
</xsl:for-each>
|
1317
|
-
<fo:block font-family="Times">
|
1318
|
-
<xsl:for-each select="p">
|
1319
|
-
<xsl:call-template name="replace-dest"> <!-- imported template -->
|
1320
|
-
<xsl:with-param name="text" select="."/>
|
1321
|
-
</xsl:call-template>
|
1322
|
-
<!--<xsl:value-of select="." disable-output-escaping="yes"/>-->
|
1323
|
-
<xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if>
|
1324
|
-
</xsl:for-each>
|
1325
|
-
</fo:block>
|
1326
|
-
</xsl:template>
|
1327
|
-
<xsl:template match="acqinfo">
|
1328
|
-
<fo:block font-family="Times">
|
1329
|
-
<xsl:for-each select="p">
|
1330
|
-
<xsl:value-of select="." disable-output-escaping="yes"/>
|
1331
|
-
<xsl:if test="following-sibling::*"> </xsl:if>
|
1332
|
-
</xsl:for-each>
|
1333
|
-
</fo:block>
|
1334
|
-
</xsl:template>
|
1335
|
-
|
1336
|
-
<xsl:template match="unittitle">
|
1337
|
-
<xsl:for-each select="p">
|
1338
|
-
<xsl:value-of select="." disable-output-escaping="yes"/>
|
1339
|
-
<xsl:if test="following-sibling::*"> </xsl:if>
|
1340
|
-
</xsl:for-each>
|
1341
|
-
</xsl:template>
|
1342
|
-
<xsl:template name="string-replace-all">
|
1343
|
-
<xsl:param name="text" />
|
1344
|
-
<xsl:param name="replace" />
|
1345
|
-
<xsl:param name="by" />
|
1346
|
-
<xsl:choose>
|
1347
|
-
<xsl:when test="contains($text, $replace)">
|
1348
|
-
<xsl:value-of select="substring-before($text,$replace)" />
|
1349
|
-
<xsl:value-of select="$by" />
|
1350
|
-
<xsl:call-template name="string-replace-all">
|
1351
|
-
<xsl:with-param name="text"
|
1352
|
-
select="substring-after($text,$replace)" />
|
1353
|
-
<xsl:with-param name="replace" select="$replace" />
|
1354
|
-
<xsl:with-param name="by" select="$by" />
|
1355
|
-
</xsl:call-template>
|
1356
|
-
</xsl:when>
|
1357
|
-
<xsl:otherwise>
|
1358
|
-
<xsl:value-of select="$text" />
|
1359
|
-
</xsl:otherwise>
|
1360
|
-
</xsl:choose>
|
1361
|
-
</xsl:template>
|
1362
|
-
|
1363
|
-
|
1364
|
-
<xsl:template name="prepend-pad">
|
1365
|
-
<!-- recursive template to right justify and prepend-->
|
1366
|
-
<!-- the value with whatever padChar is passed in -->
|
1367
|
-
<xsl:param name="padChar"> </xsl:param>
|
1368
|
-
<xsl:param name="padVar"/>
|
1369
|
-
<xsl:param name="length"/>
|
1370
|
-
<xsl:choose>
|
1371
|
-
<xsl:when test="string-length($padVar) < $length">
|
1372
|
-
<xsl:call-template name="prepend-pad">
|
1373
|
-
<xsl:with-param name="padChar" select="$padChar"/>
|
1374
|
-
<xsl:with-param name="padVar" select="concat($padChar,$padVar)"/>
|
1375
|
-
<xsl:with-param name="length" select="$length"/>
|
1376
|
-
</xsl:call-template>
|
1377
|
-
</xsl:when>
|
1378
|
-
<xsl:otherwise>
|
1379
|
-
<xsl:value-of
|
1380
|
-
select="substring($padVar,string-length($padVar) - $length + 1)"/>
|
1381
|
-
</xsl:otherwise>
|
1382
|
-
</xsl:choose>
|
1383
|
-
</xsl:template>
|
1384
|
-
<xsl:template name="append-pad">
|
1385
|
-
<!-- recursive template to left justify and append -->
|
1386
|
-
<!-- the value with whatever padChar is passed in -->
|
1387
|
-
<xsl:param name="padChar"> </xsl:param>
|
1388
|
-
<xsl:param name="padVar"/>
|
1389
|
-
<xsl:param name="length"/>
|
1390
|
-
<xsl:choose>
|
1391
|
-
<xsl:when test="string-length($padVar) < $length">
|
1392
|
-
<xsl:call-template name="append-pad">
|
1393
|
-
<xsl:with-param name="padChar" select="$padChar"/>
|
1394
|
-
<xsl:with-param name="padVar" select="concat($padVar,$padChar)"/>
|
1395
|
-
<xsl:with-param name="length" select="$length"/>
|
1396
|
-
</xsl:call-template>
|
1397
|
-
</xsl:when>
|
1398
|
-
<xsl:otherwise>
|
1399
|
-
<xsl:value-of select="substring($padVar,1,$length)"/>
|
1400
|
-
</xsl:otherwise>
|
1401
|
-
</xsl:choose>
|
1402
|
-
</xsl:template>
|
1403
|
-
|
1404
|
-
<xsl:template name="initCap">
|
1405
|
-
<xsl:param name="x"/>
|
1406
|
-
<xsl:value-of select="translate(substring($x,1,1),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
|
1407
|
-
<xsl:value-of select="substring($x,2)"/>
|
1408
|
-
</xsl:template>
|
1409
|
-
<xsl:template match="link">
|
1410
|
-
<fo:basic-link font-weight="bold" external-destination="{@dest}"><xsl:apply-templates/></fo:basic-link>
|
1411
|
-
<!--<a href="{@dest}"><xsl:apply-templates/></a>-->
|
1412
|
-
</xsl:template>
|
1413
|
-
|
1414
|
-
<xsl:template name="replace-string">
|
1415
|
-
<xsl:param name="text"/>
|
1416
|
-
<xsl:param name="replace"/>
|
1417
|
-
<xsl:param name="with"/>
|
1418
|
-
<xsl:choose>
|
1419
|
-
<xsl:when test="contains($text,$replace)">
|
1420
|
-
<xsl:value-of select="substring-before($text,$replace)"/>
|
1421
|
-
<xsl:value-of select="$with"/>
|
1422
|
-
<xsl:call-template name="replace-string">
|
1423
|
-
<xsl:with-param name="text" select="substring-after($text,$replace)"/>
|
1424
|
-
<xsl:with-param name="replace" select="$replace"/>
|
1425
|
-
<xsl:with-param name="with" select="$with"/>
|
1426
|
-
</xsl:call-template>
|
1427
|
-
</xsl:when>
|
1428
|
-
<xsl:otherwise>
|
1429
|
-
<xsl:value-of select="$text"/>
|
1430
|
-
</xsl:otherwise>
|
1431
|
-
</xsl:choose>
|
1432
|
-
</xsl:template>
|
1433
|
-
|
1434
|
-
<xsl:template name="replace-dest">
|
1435
|
-
<xsl:param name="text"/>
|
1436
|
-
|
1437
|
-
<xsl:variable name="pre-text"><xsl:value-of select="substring-before($text,'<link dest="')"/></xsl:variable>
|
1438
|
-
<xsl:variable name="post-text"><xsl:value-of select="substring-after($text,'</link>')"/></xsl:variable>
|
1439
|
-
<xsl:variable name="href-lnk"><xsl:value-of select="substring-before(substring-after($text,'<link dest="'),'"')"/></xsl:variable>
|
1440
|
-
<xsl:variable name="href-text"><xsl:value-of select="substring-after(substring-after(substring-before($text,'</link>'),'<link dest="'),'>')"/></xsl:variable>
|
1441
|
-
<xsl:choose>
|
1442
|
-
<xsl:when test="contains($text,'<link dest="')">
|
1443
|
-
<xsl:value-of select="$pre-text"/><fo:basic-link font-weight="bold"><xsl:attribute name="external-destination"><xsl:value-of select="$href-lnk"/></xsl:attribute><xsl:value-of select="$href-text"/></fo:basic-link><xsl:value-of select="$post-text"/>
|
1444
|
-
</xsl:when>
|
1445
|
-
<xsl:otherwise>
|
1446
|
-
<xsl:value-of select="$text"/>
|
1447
|
-
</xsl:otherwise>
|
1448
|
-
</xsl:choose>
|
1449
|
-
</xsl:template>
|
1450
|
-
|
1451
|
-
|
1452
|
-
</xsl:stylesheet>
|
1453
|
-
|