Skip to content
GitLab
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
d13c0f34
Commit
d13c0f34
authored
Dec 15, 2016
by
Tyrannas
Browse files
Merge branch 'master' of
https://gitlab.utc.fr/crozatst/hdoc
parents
89a316ed
606d02cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
hdoc_to_basex/basex/xquery/search
Course
ByTitle.hq
→
hdoc_to_basex/basex/xquery/search
Doc
ByTitle.hq
View file @
d13c0f34
File moved
hdoc_to_pdf/xsl/hdoc_flattenizer.xsl
View file @
d13c0f34
...
...
@@ -46,17 +46,11 @@
<xsl:template
match=
"header"
>
</xsl:template>
<xsl:template
match=
"div"
>
<xsl:variable
name=
"level"
select=
"count(ancestor::section) + 1"
/>
<div>
<xsl:element
name=
"h{$level}"
>
<xsl:value-of
select=
"h6"
/>
</xsl:element>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template
match=
"h6"
>
<xsl:variable
name=
"level"
select=
"count(ancestor::section) + 1"
/>
<xsl:element
name=
"h{$level}"
>
<xsl:value-of
select=
"."
/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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