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
850f45e6
Commit
850f45e6
authored
Dec 17, 2015
by
Jean Vintache
Browse files
revert to previous stable version
parent
f37db780
Changes
2
Hide whitespace changes
Inline
Side-by-side
etherpad_to_hdoc/antce/myantce.ant
View file @
850f45e6
...
...
@@ -39,17 +39,18 @@
<target
name=
"construct_hdoc"
>
<mkdir
dir=
"${tmp}/tozip/"
/>
<mkdir
dir=
"${tmp}/tozip/META-INF"
/>
<mkdir
dir=
"${tmp}/META-INF"
/>
<!-- container -->
<touch
file=
"${tmp}/
tozip/
META-INF/container.xml"
/>
<echoxml
file=
"${tmp}/
tozip/
META-INF/container.xml"
>
<touch
file=
"${tmp}/META-INF/container.xml"
/>
<echoxml
file=
"${tmp}/META-INF/container.xml"
>
<container
version=
"1.0"
>
<rootfiles>
<rootfile
full-path=
"${rootfilename}"
media-type=
"text/xml"
/>
</rootfiles>
</container>
</echoxml>
<xslt
classpath=
"lib/saxon9he.jar"
in=
"${tmp}/
tozip/
META-INF/container.xml"
out=
"${tmp}/META-INF/container.xml"
style=
"${xsl}/addNamespaceToContainer.xsl"
/>
<xslt
in=
"${tmp}/META-INF/container.xml"
out=
"${tmp}/
tozip/
META-INF/container.xml"
style=
"${xsl}/addNamespaceToContainer.xsl"
/>
<!-- mimetype -->
<touch
file=
"${tmp}/mimetype"
/>
...
...
etherpad_to_hdoc/antce/xsl/xhtml2hdoc.xsl
View file @
850f45e6
...
...
@@ -18,7 +18,7 @@
<h1>
Contenu
</h1>
</header>
<div>
<xsl:
apply-templates
select=
"/html/body/div
/*
"
></xsl:
apply-templates
>
<p>
<xsl:
value-of
select=
"/html/body/div"
></xsl:
value-of></p
>
</div>
</section>
</body>
...
...
@@ -55,6 +55,8 @@
<xsl:template
match=
"li/br"
>
<p/>
</xsl:template>
<xsl:template
match=
"*"
/>
<xsl:template
match=
"*"
>
<xsl:comment>
Error
</xsl:comment>
</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