Literatur

Aus Data-Wiki
<dfl:part name="Literatur">
			<!-- Link zum Literaturdokument in Lightbox, wenn eines vorhanden ist (=augmentierte LIT-Nr. in Feld a8200 vorhanden. Sonst Anzeige von a8330 ohne Link. -->
			<dfl:if test="(self::obj[a8330])[last()]/a8330 or (self::obj[a8350])[last()]/a8350">
				<dfl:li class="Bausteine Literatur">
					<span class="gridLeft">
						<dfl:text>Literatur:</dfl:text>
					</span>
					<span class="gridRight">
						<!-- FM20170517: Anpassung analog zu Baustein Ausstellung: Entkoppelung 8350 von Gruppe 8330 ff. -->
						<dfl:for-each select="(self::obj[a8330])[last()]/a8330">
							<dfl:choose>
								<dfl:when test="$Status.SearchMode='pic'">
									<dfl:augmentableDetail detail="litdocument1pic" select="a8200" action="toggleDetailMedium" class="ssy_detail_inline detail_doc">
										<dfl:actionParam name="part" select="$ETEVariables/part"/>
										<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
										<dfl:actionParam name="id" select="$ETEVariables/id"/>
										<dfl:wrap>{self::a8330>>a8200}</dfl:wrap>
									</dfl:augmentableDetail>
								</dfl:when>
								<dfl:otherwise>
									<dfl:augmentableDetail detail="litdocument1" select="a8200" action="toggleDetail" class="ssy_detail_inline detail_doc">
										<dfl:actionParam name="part" select="$ETEVariables/part"/>
										<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
										<dfl:wrap>{self::a8330>>a8200}</dfl:wrap>
									</dfl:augmentableDetail>
								</dfl:otherwise>
							</dfl:choose>							
							<dfl:if test="(a8200 or self::a8330) and (a8334 or a8336 or a8349)">
								<dfl:text>; </dfl:text>
								<dfl:space/>
							</dfl:if>
							<dfl:wrap>{{a8334}, {a8336}, {a8349}}</dfl:wrap>
							<dfl:if test="self::obj//a833i">
								<br/>
								<dfl:choose>
									<dfl:when test="a833i[=urn:nbn:*]">
										<a target="blank">
											<dfl:attribute name="href">
												<dfl:text>https://nbn-resolving.org/resolver?identifier=</dfl:text>
												<dfl:wrap>{a833i::REPLACE::/::%2F}</dfl:wrap>
											</dfl:attribute>
											<dfl:wrap>{a833i}</dfl:wrap>
										</a>
									</dfl:when>
									<dfl:otherwise>
										<a target="blank">
											<dfl:attribute name="href" select="a833i"/>
											<dfl:wrap>{a833i}</dfl:wrap>
										</a>
									</dfl:otherwise>
								</dfl:choose>
							</dfl:if>
							<dfl:augmentedDetail detail="litdocument1" select="a8200" template="Literatur-Dokument" jump="no"/>
							<dfl:augmentedDetail detail="litdocument1pic" select="a8200" template="Literatur-Dokument" jump="no"/>
							<dfl:if test="position()!=last()">
								<br/>
							</dfl:if>
						</dfl:for-each>
						<!-- ABKA3-796 Punkt 4 -->
						<dfl:if test="(self::obj[a8350])[last()]/a8350 and (self::obj[a8330])[last()]/a8330">
							<br/>
						</dfl:if>
						<dfl:for-each select="(self::obj[a8350])[last()]/a8350">
							<dfl:wrap>{self::a8350}, {self::a8355}</dfl:wrap>
							<br/>
						</dfl:for-each>
					</span>
				</dfl:li>
			</dfl:if>
		</dfl:part>