Klassifikation

Aus Data-Wiki
<dfl:part name="Klassifikation">
			<!-- Kailus 20160914: Normdatenausgabe entfernt -->
			<dfl:if test="self::obj/a5220 or self::obj/a5230 or self::obj/a5226 or self::obj/a5495 or self::obj/a5084 or self::obj/a5240 or self::obj/a5192 or self::obj/a5194 or self::obj/a5730 or self::que/a8064 or self::que/a8062 or self::que/a8060">
				<dfl:li class="Bausteine Klassifikation">
					<dfl:if test="self::obj/a5230[../a5200 or ../a5202] or self::obj/a5220 or self::obj/a5226        or self::obj/a5495 or self::obj/a5084 or self::obj/a5240 or self::obj/a5192        or self::obj/a5194 or self::obj/a5730 or self::que/a8162">
						<!-- Kailus 20160914: Kolumnen Sachbegriff und Form eingefügt, Zeilen aus Kolumne Gattung entfernt. -->
						<dfl:if test="self::obj/a5230[../a5200 or ../a5202]">
							<span class="gridLeft">
								<dfl:text>Sachbegriff:</dfl:text>
							</span>
							<span class="gridRight">
								<dfl:for-each select="a5230[../a5200|../a5202]">
									<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:if test="position()=last()">
										<dfl:for-each select="..">
											<br/>
											<!-- FM20150517: Klammerung für urspr. Funktion hinter 5229 gesetzt -->
											<dfl:wrap>{ursprüngliche Funktion: {(self::obj[a5229])[last()]/a5229::JOIN::,}}, {mundartlich: {(self::obj[a5232])[last()]/a5232}}</dfl:wrap>
										</dfl:for-each>
									</dfl:if>
								</dfl:for-each>
							</span>
						</dfl:if>
						<dfl:if test="a5240">
							<span class="gridLeft">
								<dfl:text>Form:</dfl:text>
							</span>
							<span class="gridRight">
								<dfl:for-each select="a5240">
									<dfl:wrap>{self::a5240}</dfl:wrap>
									<dfl:if test="position()!=last()">
										<dfl:choose>
											<dfl:when test="self::a5240[=*/]">
												<dfl:text> oder </dfl:text>
											</dfl:when>
											<dfl:otherwise>
												<dfl:text>, </dfl:text>
											</dfl:otherwise>
										</dfl:choose>
									</dfl:if>
								</dfl:for-each>
							</span>
						</dfl:if>
						<dfl:if test="self::obj/a5220|self::obj/a5226|self::obj/a5495|self::obj/a5084|self::obj/a5192|self::obj/a5194|self::obj/a5730|self::que/a8162">
							<span class="gridLeft">
								<dfl:text>Gattung:</dfl:text>
							</span>
							<span class="gridRight">
								<dfl:variable name="a5220">
									<dfl:for-each select="a5220">
										<dfl:wrap>{self::a5220}</dfl:wrap>
										<dfl:if test="position()!=last()">
											<dfl:choose>
												<dfl:when test="self::a5220[=*/]">
													<dfl:text> oder </dfl:text>
												</dfl:when>
												<dfl:otherwise>
													<dfl:text>, </dfl:text>
												</dfl:otherwise>
											</dfl:choose>
										</dfl:if>
									</dfl:for-each>
								</dfl:variable>
								<dfl:wrap>{{{{string($a5220)}, }{(self::obj[a5226])[last()]/a5226::JOIN::,}{(self::obj[a5495])[last()]/a5495}}; {{(self::obj[a5084])[last()]/a5084::JOIN::,}, {(self::obj[a5192])[last()]/a5192::JOIN::,}, {(self::obj[a5194])[last()]/a5194}}, {Werkverzeichnis: {(self::obj[a5730])[last()]/a5730}}, {(self::que[a8162])[last()]/a8162}}</dfl:wrap>
								<dfl:if test="position()!=last()">
									<br/>
								</dfl:if>
							</span>
						</dfl:if>
					</dfl:if>
					<dfl:if test="(self::que/a8064 or self::que/a8062 or self::que/a8060 or self::que/a8165) and $Status.SearchMode='obj'">
						<span class="gridLeft">
							<dfl:text>Konvolut:</dfl:text>
						</span>
						<span class="gridRight">
							<dfl:wrap>{{(self::que[a8060])[last()]/a8060::JOIN::,}, {(self::que[a8064 or a8062])[last()]/a8064>>(self::que[a8064 or a8062])[last()]/a8062}}</dfl:wrap>
							<dfl:wrap>{\n{(self::que[a8165])[last()]/a8165}}</dfl:wrap>
							<dfl:if test="position()!=last()">
								<br/>
							</dfl:if>
						</span>
					</dfl:if>
				</dfl:li>
			</dfl:if>
		</dfl:part>