Commit bc3c45c5 authored by Edith Cannet's avatar Edith Cannet
Browse files

jats : gestion figure/caption

parent 2ec9fb32
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -396,7 +396,14 @@

    <!-- table -->
    <xsl:template match="table-wrap">
        <figure>
        <xsl:choose>
            <xsl:when test="caption">
                <label>
                    <xsl:value-of select=".//title"/>
                    <xsl:apply-templates></xsl:apply-templates>
                </label>
            </xsl:when>
            <xsl:when test="label or title">
                <table>

@@ -413,6 +420,7 @@
                <xsl:apply-templates></xsl:apply-templates>
            </xsl:otherwise>
        </xsl:choose>
        </figure>
    </xsl:template>