Open sonofmun opened 7 years ago
For Hebrew:
<xsl:template match="t:div[@type = 'edition']"> <div id="edition"> <xsl:attribute name="class"> <xsl:text>edition lang_</xsl:text> <xsl:value-of select="@xml:lang"/> </xsl:attribute> <xsl:attribute name="data-lang"><xsl:value-of select="./@xml:lang"/></xsl:attribute> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="t:w"> <xsl:element name="span"> <xsl:attribute name="class">w</xsl:attribute> <xsl:apply-templates/> </xsl:element> </xsl:template>
For Hebrew: