Commit c2f6f87f authored by qaomia's avatar qaomia

fixes

parent 23c394fa
......@@ -19,7 +19,7 @@
<!-- Apply Xslt -->
<target name="apply-xslt">
<xslt in="${xsl}/html2xhtml.xsl" out="${tmp}/tmpPad.xhtml" style="${xsl}/html2xhtml.xsl" />
<xslt in="${tmp}/tmpPad.html" out="${tmp}/content.xml" style="${xsl}/xhtml2hdoc.xsl" />
<xslt in="${tmp}/tmpPad.xhtml" out="${tmp}/content.xml" style="${xsl}/xhtml2hdoc.xsl" />
</target>
<!-- Builds Hdoc structure -->
......@@ -48,4 +48,4 @@
<target name="main" depends="start,apply-xslt,construct_hdoc,zip" />
</project>
\ No newline at end of file
</project>
......@@ -20,8 +20,10 @@
</title>
<meta charset="utf-8"/>
</head>
<body>
<xsl:value-of select="replace(normalize-space(regex-group(2)), 'br', 'br/')" disable-output-escaping="yes"/>
<body>
<div>
<xsl:value-of select="replace(normalize-space(regex-group(2)), 'br', 'br/')" disable-output-escaping="yes"/>
</div>
</body>
</xsl:matching-substring>
......
......@@ -3,7 +3,7 @@
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
xmlns="http://www.utc.fr/ics/hdoc/xhtml"
version="2.0" xpath-default-namespace="http://www.w3.org/1999/xhtml">
version="2.0">
<xsl:output method="xml" indent="yes"></xsl:output>
<xsl:template match="html">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment