Titel-kurz-fav

Aus Data-Wiki
<dfl:part name="Titel-kurz-fav">
			<!-- 
				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:choose>
				<dfl:when test="(self::obj[a5200])[last()]/a5200">
					<dfl:wrap>{(self::obj[a5200])[last()]/a5200}</dfl:wrap>
					<dfl:if test="position()!=last()">
						<dfl:text>, </dfl:text>
					</dfl:if>
				</dfl:when>
				<dfl:when test="(self::obj[a5202])[last()]/a5202">
					<dfl:wrap>{(self::obj[a5202])[last()]/a5202}</dfl:wrap>
					<dfl:if test="position()!=last()">
						<dfl:text>, </dfl:text>
					</dfl:if>
				</dfl:when>
				<dfl:when test="(self::obj[a5230])[last()]/a5230">
					<dfl:for-each select="(self::obj[a5230])[last()]/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: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>
				<dfl:when test="aqu28/a2940[=Bildnachlass Reinhart Koselleck*]">
					<dfl:wrap>{{(self::que[aqu28/a2940])[last()]/aqu28/a2940::JOIN:::}: {(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:part>