Commit 7aef6932 authored by Baptiste Montange's avatar Baptiste Montange

change xsl to english

parent 9e60a374
......@@ -10,9 +10,9 @@
</xsl:template>
<xsl:template match="h:head" mode="title">
<titre>
<title>
<xsl:value-of select="./h:title"/>
</titre>
</title>
<xsl:apply-templates select="./h:meta"/>
</xsl:template>
......@@ -44,29 +44,32 @@
<xsl:template match="h:section">
<section>
<titresection>
<typesection>
<xsl:value-of select="@data-hdoc-type"/>
</typesection>
<titlesection>
<xsl:value-of select="./h:header/h:h1"/>
</titresection>
<contenu>
<paragraphes>
</titlesection>
<content>
<paragraphs>
<xsl:apply-templates select="h:div"/>
</paragraphes>
</paragraphs>
<xsl:apply-templates select="h:section" mode="soussect"/>
</contenu>
</content>
</section>
</xsl:template>
<xsl:template match="h:section" mode="soussect">
<soussection></soussection>
</xsl:template>
<xsl:template match="h:div" >
<xsl:template match="h:div" >
<xsl:if test="h:p">
<paragraphe>
<paragraph>
<xsl:value-of select="."/>
</paragraphe>
</paragraph>
</xsl:if>
<xsl:if test="h:ul">
<xsl:apply-templates select="h:ul"></xsl:apply-templates>
......@@ -75,9 +78,9 @@
</xsl:template>
<xsl:template match="h:ul">
<xsl:for-each select="h:li">
<paragraphe>
<paragraph>
<xsl:value-of select="h:p"/>
</paragraphe>
</paragraph>
</xsl:for-each>
</xsl:template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment