<dfl:part name="Ortsbezug">
<dfl:if test="self::obj/aob26[!=Standort*] or self::obj/aob26[!=Zusammenhang*] or self::obj/aob26[!=Teil*] or self::obj/aob26[!=Fundort*] or self::obj/a5140[!=Fundort*] or self::obj/a5175">
<dfl:li class="Bausteine Ortsbezug">
<span class="gridLeft">
<dfl:text>Ortsbezug:</dfl:text>
</span>
<span class="gridRight">
<!--<dfl:for-each select="(self::obj[aob26])[last()]/aob26[!=Standort*]|(self::obj[aob26])[last()]/aob26[!=Zusammenhang*]|(self::obj[aob26])[last()]/aob26[!=Teil*]|(self::obj[aob26])[last()]/aob26[!=Fundort*]"-->
<dfl:for-each select="(self::obj[aob26])[last()]/aob26[!=Standort*][!=Zusammenhang*][!=Teil*][!=Fundort*]">
<dfl:choose>
<!-- Kailus 20160914: Normdatenausgabe entfernt -->
<dfl:whendocumentavailable selectdoctype="'obj'" selectdocnumber="a2606">
<dfl:wrap>{{self::aob26}: {a2664}, {a2662}}</dfl:wrap>
<dfl:if test="self::aob26|a2664|a2662 and a2700|a2700|a2660|a2690|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn">
<dfl:text>, </dfl:text>
</dfl:if>
<a class="ssy_detail_inline">
<dfl:attribute name="href">
<dfl:webrootbaseurl/>
<dfl:text>document/obj</dfl:text>
<dfl:wrap>{a2606}</dfl:wrap>
<dfl:text>?medium=</dfl:text>
<dfl:call-template selectdoctype="'obj'" selectdocnumber="a2606" template="getMedium"/>
</dfl:attribute>
<dfl:wrap>{a2700>>a2690}</dfl:wrap>
</a>
<dfl:if test="a2700|a2690 and a2660|a2690|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn">
<dfl:text>, </dfl:text>
</dfl:if>
<dfl:wrap>{{a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
</dfl:whendocumentavailable>
<dfl:otherwise>
<dfl:wrap>{{self::aob26}: {a2664}, {a2662}, {a2700>>a2690}, {a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
</dfl:otherwise>
</dfl:choose>
<dfl:if test="position()!=last()">
<br/>
</dfl:if>
</dfl:for-each>
<dfl:if test="self::obj/aob26[!=Standort*][!=Zusammenhang*][!=Fundort*] and (self::obj/a5140[!=Fundort*] or self::obj/a5175)">
<br/>
</dfl:if>
<dfl:for-each select="(self::obj[a5140])[last()]/a5140[!=Fundort*]">
<dfl:wrap>{{self::a5140}: {a5145}}</dfl:wrap>
<!-- FM20170517: Ausgabe nach a514rl an Formatierung von ob30rl angepasst: 'oder' Zeilenumbruch -->
<dfl:if test="position()!=last()">
<dfl:if test="not(preceding-sibling::a5140[1]/a514rl[text()[1]=current()/a514rl])">
<dfl:space/>
<dfl:value-of select="a514rl"/>
</dfl:if>
<br/>
</dfl:if>
<dfl:if test="position()=last()">
<dfl:wrap>{\n{Geltungsbereich: {{(self::obj[a5175])[last()]/a5175}}}}</dfl:wrap>
</dfl:if>
</dfl:for-each>
</span>
</dfl:li>
</dfl:if>
</dfl:part>