<dfl:part name="Pic-Fotoinhalt">
<dfl:if test="###RESULTSETMATCHDID###=@did or ancestor::document or not(ancestor::root)">
<dfl:choose>
<!-- Spalte D -->
<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que)">
<dfl:if test="a8510">
<dfl:text> – </dfl:text>
</dfl:if>
<dfl:wrap>{a8510::JOIN:: - }</dfl:wrap>
</dfl:when>
<!-- Spalte E -->
<dfl:when test="self::a8450 and not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
<dfl:if test="a8510">
<dfl:text> – </dfl:text>
</dfl:if>
<dfl:wrap>{a8510}</dfl:wrap>
</dfl:when>
<!-- Spalte F -->
<dfl:when test="self::a8450 and not(ancestor::obj[a5220[ri=.*fotografie]]) and a8408 and fto and not(ancestor::que)">
<dfl:if test="fto/a8510">
<dfl:text> – </dfl:text>
</dfl:if>
<dfl:wrap>{fto/a8510}</dfl:wrap>
</dfl:when>
<!-- Spalte G -->
<dfl:when test="ancestor::que">
<dfl:if test="a8510">
<dfl:text> – </dfl:text>
</dfl:if>
<dfl:wrap>{a8510::JOIN:: - }</dfl:wrap>
</dfl:when>
<dfl:otherwise/>
</dfl:choose>
</dfl:if>
<dfl:if test="###RESULTSETMATCHDID###!=@did and not(ancestor::document) and ancestor::root">
<dfl:apply-templates select="descendant::*[###RESULTSETMATCHDID###=@did][1]"/>
</dfl:if>
</dfl:part>