Commit c6e4351e authored by Eva Huet's avatar Eva Huet
Browse files

JATS : fix linguistique

parent fe341091
Loading
Loading
Loading
Loading
+23 −10
Original line number Diff line number Diff line
@@ -1536,25 +1536,38 @@
    <xsl:template match="disp-quote[child::p[@specific-use='linguistic']]">
        <table class="linguistic">
            <tbody>
                <xsl:if test="child::named-content[@content-type='label']">
                    <tr>
                        <td>
                        <xsl:apply-templates select="child::label/node()"/>  
                            <xsl:apply-templates select="child::named-content[@content-type='label']/node()"/>   
                        </td>
                    </tr>                 
                </xsl:if>
                <xsl:if test="p[@specific-use='linguistic']/named-content[@content-type='label']">
                    <tr>
                        <td>
                            <xsl:apply-templates select="p[@specific-use='linguistic']/named-content[@content-type='label']/node()"/> 
                        </td>
                    </tr>
                </xsl:if>
                <xsl:for-each select="child::p[@specific-use='linguistic']/*">
                    <tr>
                        <xsl:apply-templates select="."/>
                    </tr>
                </xsl:for-each>
                <xsl:for-each select="child::attrib/*">
                    <tr>
                        <td>
                            <xsl:apply-templates select="child::attrib/node()"/>
                        </td>
                    </tr>
                </xsl:for-each>
            </tbody>
        </table>
    </xsl:template>

    <xsl:template match="named-content[@content-type='label']"/>

    <xsl:template match="named-content[@content-type='seg']">
        <xsl:choose>
            <xsl:when