Commit 7c70f192 authored by Marie Bisson's avatar Marie Bisson
Browse files

gestion des liens internes

parent 717ab074
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    <xsl:param name="docName"/>

    <xsl:template match="ead:runner"></xsl:template>

    <xsl:template match="ead:*[@audience='internal']"/>
    <xsl:template match="node() | @*">
        <xsl:copy>
            <xsl:apply-templates select="@* | node()"/>
@@ -656,7 +656,15 @@
            <xsl:apply-templates/>
        </a>
    </xsl:template>

    <xsl:template match="ead:ref">
    <a>
        <xsl:attribute name="href">
            <xsl:value-of select="@target"/>
            <xsl:text>.html</xsl:text>
        </xsl:attribute>
        <xsl:apply-templates/>
    </a>
    </xsl:template>
    <!-- FIN LEs liens -->

    <!-- Les images -->
@@ -678,7 +686,7 @@
    <xsl:template match="ead:dao">
        <!-- <figure> -->
        <img>
            <xsl:attribute name="src">../editions/stmichel/ui/images/<xsl:value-of select="@xlink:href"/>
            <xsl:attribute name="src"><xsl:value-of select="@xlink:href"/>
            </xsl:attribute>
        </img>
        <!-- <desc><xsl:apply-templates select="ead:daodesc/ead:p/node()"/></desc>