Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update XSL for Hebrew and Coptic lit #11

Open
sonofmun opened this issue Aug 21, 2017 · 1 comment
Open

Update XSL for Hebrew and Coptic lit #11

sonofmun opened this issue Aug 21, 2017 · 1 comment

Comments

@sonofmun
Copy link

No description provided.

@sonofmun
Copy link
Author

sonofmun commented Aug 21, 2017

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant