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
ff17acc7
Commit
ff17acc7
authored
Dec 17, 2015
by
Zangdar1111
Browse files
fix order
parent
de42c2de
Changes
1
Hide whitespace changes
Inline
Side-by-side
mindmapping_to_hdoc/xslt/sect.xsl
View file @
ff17acc7
...
...
@@ -27,7 +27,7 @@
<!-- Header in hdoc -->
<xsl:template
match=
"node[1]"
mode=
"header"
>
<title>
<xsl:value-of
select=
"@TEXT"
/>
<xsl:value-of
select=
"
utc:string-remove-order(
@TEXT
)
"
/>
<xsl:value-of
select=
"richcontent"
/>
</title>
<meta
charset=
"utf-8"
/>
...
...
@@ -39,7 +39,7 @@
<xsl:element
name=
"section"
>
<header>
<h1>
<xsl:value-of
select=
"@TEXT"
/>
<xsl:value-of
select=
"
utc:string-remove-order(
@TEXT
)
"
/>
<xsl:value-of
select=
"richcontent"
/>
</h1>
</header>
...
...
@@ -59,7 +59,7 @@
<!--Conclusion-->
<xsl:if
test=
"child::*[contains(@TEXT, '#conclu')]"
>
<xsl:element
name=
"section"
>
<header><h1>
Concluson
</h1></header>
<header><h1>
Conclus
i
on
</h1></header>
<footer>
<xsl:element
name=
"div"
>
<xsl:attribute
name=
"data-hdoc-type"
>
conclusion
</xsl:attribute>
...
...
@@ -84,7 +84,7 @@
</xsl:if>
<header>
<h1>
<xsl:value-of
select=
"@TEXT"
/>
<xsl:value-of
select=
"
utc:string-remove-order(
@TEXT
)
"
/>
<xsl:value-of
select=
"richcontent"
/>
</h1>
</header>
...
...
@@ -114,7 +114,7 @@
<xsl:template
match=
"node[contains(@TEXT, '#intro')] | node[contains(@TEXT, '#conclu')]"
priority=
"3"
/>
<xsl:template
match=
"richcontent"
>
<xsl:value-of
select=
"html/body/p"
/>
<xsl:value-of
select=
"
utc:string-remove-order(
html/body/p
)
"
/>
</xsl:template>
<!-- Utility functions -->
...
...
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