Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
b5a8ade1
Commit
b5a8ade1
authored
Jan 04, 2017
by
Neveux Anais
Browse files
Add default title for program
parent
64c99ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
canoprof_to_hdoc/xsl/programmation.xsl
View file @
b5a8ade1
...
...
@@ -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']"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment