Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hdoc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Stephane Crozat
hdoc
Commits
7aef6932
Commit
7aef6932
authored
Jan 05, 2017
by
Baptiste Montange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change xsl to english
parent
9e60a374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
hdoc_to_basex/xsl/transformation.xsl
hdoc_to_basex/xsl/transformation.xsl
+17
-14
No files found.
hdoc_to_basex/xsl/transformation.xsl
View file @
7aef6932
...
...
@@ -10,9 +10,9 @@
</xsl:template>
<xsl:template
match=
"h:head"
mode=
"title"
>
<tit
r
e>
<tit
l
e>
<xsl:value-of
select=
"./h:title"
/>
</tit
r
e>
</tit
l
e>
<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"
/>
</paragraph
e
s>
</paragraphs>
<xsl:apply-templates
select=
"h:section"
mode=
"soussect"
/>
</conten
u
>
</conten
t
>
</section>
</xsl:template>
<xsl:template
match=
"h:section"
mode=
"soussect"
>
<soussection></soussection>
</xsl:template>
<xsl:template
match=
"h:div"
>
<xsl:if
test=
"h:p"
>
<paragraph
e
>
<paragraph>
<xsl:value-of
select=
"."
/>
</paragraph
e
>
</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"
>
<paragraph
e
>
<paragraph>
<xsl:value-of
select=
"h:p"
/>
</paragraph
e
>
</paragraph>
</xsl:for-each>
</xsl:template>
...
...
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