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

nettoyage xsl

parent 51164a60
Loading
Loading
Loading
Loading
+12 −19
Original line number Diff line number Diff line
@@ -24,22 +24,8 @@
            <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>
    </xsl:template>
    <xsl:template match="ead:c | ead:archdesc">
    <xsl:template match="ead:c">
        <div class="ead_style" id="text">
            <!--<nav class="article_actions">
                <ul>
                    <li>
                        <label>
                            <input type="checkbox" id="basket_toggle"/>
                            <xsl:value-of select="max:i18n($project,'label.dansvotre',$locale)"/>
                            <xsl:text></xsl:text>
                            <a href="{$baseuri}{$project}/porte-documents.html">
                                <xsl:value-of select="max:i18n($project,'label.porte-documents',$locale)"/>
                            </a>
                        </label>
                    </li>
                </ul>
            </nav>-->
            <xsl:apply-templates/>
        </div>
    </xsl:template>
@@ -52,7 +38,7 @@


    <xsl:template match="ead:did">
        <table class="ead_details">
        <table class="ead_details {local-name(.)}">
            <tbody>
                <xsl:apply-templates/>
            </tbody>
@@ -95,6 +81,7 @@
        </tr>
    </xsl:template>
    

    <xsl:template match="ead:physdesc">
        <tr class="physdesc">
            <xsl:choose>
@@ -719,14 +706,20 @@
    </xsl:template>

    <xsl:template match="ead:dao">
        <!-- <figure> -->
    <table class="ead_details {local-name(.)}">
    <tr>
            <th>Numérisations</th>
     <td>

        <img>
            <xsl:attribute name="src">
            <xsl:value-of select="concat($baseuri, $project, '/ui/images/',@xlink:href)"/>
            </xsl:attribute>
        </img>
        <!-- <desc><xsl:apply-templates select="ead:daodesc/ead:p/node()"/></desc>
    </figure> -->
        <!-- <desc><xsl:apply-templates select="ead:daodesc/ead:p/node()"/></desc>-->
    </td>
    </tr>
    </table>
    </xsl:template>