Commit 2a45ebdf authored by Edith Cannet's avatar Edith Cannet
Browse files

corr erreur syntaxe pour transformation via processeur PHP

parent 9b598c0d
Loading
Loading
Loading
Loading
+6 −2
Changes for tei2html.xsl: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -650,8 +650,12 @@
    
    <!-- liste -->
    <xsl:template match="tei:list">
        <xsl:variable name="listType" select="if( @type = 'ordered' )
        then ( 'ol' ) else ( 'ul' )"/>
        <xsl:variable name="listType">
            <xsl:choose>
                <xsl:when test="@type='ordered'">ol</xsl:when>
                <xsl:otherwise>ul</xsl:otherwise>
            </xsl:choose>
        </xsl:variable>
        <xsl:variable name="attributeValue" select="replace(@rendition, '^#?list-', 'list-style-type:')"/>
        <xsl:element name="{$listType}">
            <xsl:attribute name="class" select="concat('index-',@type)"/>