Titel-kurz

Aus Data-Wiki
<dfl:part name="Titel-kurz">
			<!-- 
				mehrteilige OBJ-Dokumente: Titelangaben (a5200, a5202) werden hierarchisch astweise additiv von oben bis zum 
				Trefferblock durchgespielt. Hierarchisch höherstehene Titel werden ebenso angezeigt wie der konkrete Titel des 
				Trefferblocks. Vgl. BKA2. 
			-->
			<dfl:if test="###RESULTSETMATCHDID###=@did or ancestor::document or not(ancestor::root)">
				<dfl:for-each select="self::a8450/parent::*|self::*[not(self::a8450)]">
					<dfl:choose>
						<dfl:when test="$Status.SearchMode='pic' and self::obj[a8450/fto[1]/a84200/a8420q]">
							<!-- ABKA3-1029 -->
							<dfl:wrap>{(self::obj[a8450/fto[1]/a84200/a8420q])/a8450/fto[1]/a84200}</dfl:wrap>
							<dfl:if test="position()!=last()">
								<dfl:text>, </dfl:text>
							</dfl:if>
						</dfl:when>
						<dfl:when test="a5200">
							<dfl:wrap>{a5200}</dfl:wrap>
							<dfl:if test="position()!=last()">
								<dfl:text>, </dfl:text>
							</dfl:if>
						</dfl:when>
						<dfl:when test="a5202">
							<dfl:wrap>{a5202}</dfl:wrap>
							<dfl:if test="position()!=last()">
								<dfl:text>, </dfl:text>
							</dfl:if>
						</dfl:when>
						<dfl:when test="a5230">
							<dfl:choose>
								<dfl:when test="$Status.SearchMode='pic'">
									<dfl:wrap>{a5230}</dfl:wrap>
								</dfl:when>
								<dfl:otherwise>
									<dfl:for-each select="a5230">
										<dfl:wrap>{self::a5230}</dfl:wrap>
										<dfl:if test="position()!=last()">
											<dfl:choose>
												<dfl:when test="self::a5230[=*/]">
													<dfl:text> oder </dfl:text>
												</dfl:when>
												<dfl:otherwise>
													<dfl:text>, </dfl:text>
												</dfl:otherwise>
											</dfl:choose>
										</dfl:if>
									</dfl:for-each>
								</dfl:otherwise>
							</dfl:choose>
						</dfl:when>
						<dfl:when test="a99fm[=MiFi-Bestand, n. erfasst*]">
							<dfl:wrap>{{(self::obj[a8450/asr02])[last()]/a8450/asr02::JOIN:: -}- {(self::obj[a8450/asr03])[last()]/a8450/asr03::JOIN:: -}- {(self::obj[a8450/asr04])[last()]/a8450/asr04}}</dfl:wrap>
						</dfl:when>
						<!-- ::JOIN::: -->
						<dfl:when test="aqu28/a2940[=Bildnachlass Reinhart Koselleck*]">
							<dfl:wrap>{{(self::que[aqu28/a2940])[last()]/aqu28/a2940}: {(self::que[a809a])[last()]/a809a::JOIN::,}, {(self::que[a8090])[last()]/a8090}}</dfl:wrap>
						</dfl:when>
						<dfl:when test="a809a or a8090">
							<dfl:wrap>{{(self::que[a809a])[last()]/a809a::JOIN::,}, {(self::que[a8090])[last()]/a8090::JOIN::,}}</dfl:wrap>
						</dfl:when>
						<dfl:when test="a8064 or a8062">
							<dfl:wrap>{{(self::que[a8064 or a8062])[last()]/a8064>>a8062}}</dfl:wrap>
						</dfl:when>
						<dfl:otherwise>
							<dfl:text>[Kein Titel]</dfl:text>
							<dfl:if test="position()!=last()">
								<dfl:text>, </dfl:text>
							</dfl:if>
						</dfl:otherwise>
					</dfl:choose>
				</dfl:for-each>
			</dfl:if>
			<dfl:if test="###RESULTSETMATCHDID###!=@did and not(ancestor::document) and ancestor::root">
				<dfl:apply-templates select="descendant::*[###RESULTSETMATCHDID###=@did][1]"/>
			</dfl:if>
		</dfl:part>