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
fbe7ba73
Commit
fbe7ba73
authored
Dec 15, 2016
by
Aghiles
Browse files
Corrections xslt pour la gestion des sections ignoréesé
parent
92eca99d
Changes
1
Hide whitespace changes
Inline
Side-by-side
wikipedia_to_hdoc/xslt/wiki_to_hdoc.xsl
View file @
fbe7ba73
...
@@ -425,7 +425,8 @@
...
@@ -425,7 +425,8 @@
<!-- Ignoring end of file h2: see also, etc... -->
<!-- Ignoring end of file h2: see also, etc... -->
<!-- <xsl:template match="h2[not(following-sibling::p intersect following-sibling::h2[1]/preceding-sibling::p)]"/>-->
<!-- <xsl:template match="h2[not(following-sibling::p intersect following-sibling::h2[1]/preceding-sibling::p)]"/>-->
<xsl:template
match=
" h2[following-sibling::ul[li/a[@class='external text'] and preceding-sibling::h2]][last()]"
/>
<xsl:template
match=
" h2[following-sibling::ul[li/a[@class='external text'] and preceding-sibling::h2]][last()]"
/>
<xsl:template
match=
" h2[following-sibling::div[@class='references-small decimal'] and preceding-sibling::h2][last()]"
/>
<xsl:template
match=
" h2[following-sibling::div[@class='references-small decimal'] and preceding-sibling::h2][last()]"
></xsl:template>
<xsl:template
match=
"h2[following-sibling::h3[span[@id='Notes']]][last()]"
/>
<xsl:template
match=
"div[@id='mw-navigation']/h2"
/>
<xsl:template
match=
"div[@id='mw-navigation']/h2"
/>
<!-- Ignoring divs by default: they are not relevant to us -->
<!-- Ignoring divs by default: they are not relevant to us -->
...
...
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