Standort-Bauwerk-lang
<dfl:part name="Standort-Bauwerk-lang">
<dfl:if test="self::obj/a5108 or self::obj/aob26[=Standort*] or self::obj/aob26[=Zusammenhang*] or self::obj/aob26[=Teil*]">
<dfl:li class="Bausteine Standort-Bauwerk-lang">
<dfl:for-each select="(self::obj[a5108])[last()]/a5108">
<dfl:text>Standort:</dfl:text>
<dfl:wrap>{{self::a5108}, {a5110}, {a5116} {a5117}}</dfl:wrap>
<dfl:if test="position()!=last()">
</dfl:if>
<dfl:if test="position()=last()">
<dfl:if test="(self::obj[a5120])[last()]/a5120 or (self::obj[a5122])[last()]/a5122 or (self::obj[a5210])[last()]/a5210">
</dfl:if>
<dfl:wrap>{{(self::obj[a5120])[last()]/a5120::JOIN::,}, {(self::obj[a5122])[last()]/a5122::JOIN::,}}</dfl:wrap>
</dfl:if>
</dfl:for-each>
<dfl:for-each select="(self::obj[aob26])[last()]/aob26[=Standort*]|(self::obj[aob26])[last()]/aob26[=Zusammenhang*]|(self::obj[aob26])[last()]/aob26[=Teil*]">
<dfl:wrap>{self::aob26}</dfl:wrap>
<dfl:if test="self::aob26">
<dfl:text>:</dfl:text>
</dfl:if>
<dfl:choose>
<dfl:when test="a27gn[=gnd*]">
<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
<dfl:text>, </dfl:text>
</dfl:if>
<dfl:action action="queryGallery" class="ssy_detail_inline">
<dfl:actionParam name="index" value="obj-obj_id_ref"/>
<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a27gn)"/>
<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
</dfl:action>
<dfl:if test="(a2700|a2690|a2606) and (a2660|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:when>
<dfl:when test="a26gn[=gnd*]">
<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
<dfl:text>, </dfl:text>
</dfl:if>
<dfl:action action="queryGallery" class="ssy_detail_inline">
<dfl:actionParam name="index" value="obj-obj_id_ref"/>
<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a26gn)"/>
<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
</dfl:action>
<dfl:if test="(a2700|a2690|a2606) and (a2660|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:when>
<dfl:when test="a2606">
<dfl:wrap>{{a2664}, {a2662}}</dfl:wrap>
<dfl:if test="(a2664 or a2662) and (a2700|a2690|a2606|a2660|a2661|a2730|a2750|a2740|a2780|a2796|a26gn|a27gn)">
<dfl:text>, </dfl:text>
</dfl:if>
<dfl:action action="queryGallery" class="ssy_detail_inline">
<dfl:actionParam name="index" value="obj-obj_id_ref"/>
<dfl:actionParam name="desc" select="edps:Xslt2EncodeForURIPlusSign(a2606)"/>
<dfl:wrap>{a2700>>a2690>>a2606}</dfl:wrap>
</dfl:action>
<dfl:if test="(a2700|a2690|a2606) and (a2660|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:when>
<dfl:otherwise>
<dfl:wrap>{{a2664}, {a2662}, {a2700>>a2690>>a2606}, {a2660} {a2661}, {a2730}, {a2750>>a2740}, {a2780}, {a2796}}</dfl:wrap>
</dfl:otherwise>
</dfl:choose>
<dfl:if test="position()!=last()">
</dfl:if>
</dfl:for-each>