Commit b4d2ba59 authored by Anne Goloubkoff-Duponchel's avatar Anne Goloubkoff-Duponchel
Browse files

pour affichage du archdesc

parent 2ec7fab8
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -39,8 +39,19 @@
            <xsl:apply-templates/>
        </summary>
    </xsl:template>

   <xsl:template match="a">
        <a href="{@href}">
        <a>
        <xsl:attribute name="href">
            <xsl:choose>
                <xsl:when test="(ancestor::details[1][@level='archdesc']) and (not(parent::div[@class='detail']))">
                    <xsl:value-of select="substring-before(@href,'.xml')||'.xml/info/archdesc.html'" />
                </xsl:when>
                <xsl:otherwise>
                    <xsl:value-of select="@href"/>
                </xsl:otherwise>
            </xsl:choose>
            </xsl:attribute>
            <xsl:apply-templates/>
        </a>
    </xsl:template>