Commit b5a8ade1 authored by Neveux Anais's avatar Neveux Anais

Add default title for program

parent 64c99ecf
......@@ -19,7 +19,22 @@
RNGSchema="../../schemas/xhtml/hdoc1-xhtml.rng" type="xml"</xsl:processing-instruction>
<html>
<head>
<title><xsl:value-of select="cp:programM/sp:title"/></title>
<title>
<xsl:choose>
<xsl:when test="string-length(cp:programM/sp:title) > 0">
<xsl:value-of select="cp:programM/sp:title"/>
</xsl:when>
<xsl:otherwise>
PROGRAMMATION
<xsl:if test="./cp:programM/sp:class">
<xsl:value-of select="./cp:programM/sp:class"/><xsl:text> </xsl:text>
</xsl:if>
<xsl:if test="./cp:programM/sp:period">
[<xsl:value-of select="./cp:programM/sp:period"/>]
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</title>
<meta charset="utf-8"/>
<meta content="HdocConverter/Opale3.4" name="generator"/>
<xsl:apply-templates select="cp:programM/child::*[name() != 'sp:abstract' and name()!= 'sp:title']"/>
......
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