Commit c2f6f87f authored by qaomia's avatar qaomia

fixes

parent 23c394fa
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<!-- Apply Xslt --> <!-- Apply Xslt -->
<target name="apply-xslt"> <target name="apply-xslt">
<xslt in="${xsl}/html2xhtml.xsl" out="${tmp}/tmpPad.xhtml" style="${xsl}/html2xhtml.xsl" /> <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> </target>
<!-- Builds Hdoc structure --> <!-- Builds Hdoc structure -->
...@@ -48,4 +48,4 @@ ...@@ -48,4 +48,4 @@
<target name="main" depends="start,apply-xslt,construct_hdoc,zip" /> <target name="main" depends="start,apply-xslt,construct_hdoc,zip" />
</project> </project>
\ No newline at end of file
...@@ -20,8 +20,10 @@ ...@@ -20,8 +20,10 @@
</title> </title>
<meta charset="utf-8"/> <meta charset="utf-8"/>
</head> </head>
<body> <body>
<xsl:value-of select="replace(normalize-space(regex-group(2)), 'br', 'br/')" disable-output-escaping="yes"/> <div>
<xsl:value-of select="replace(normalize-space(regex-group(2)), 'br', 'br/')" disable-output-escaping="yes"/>
</div>
</body> </body>
</xsl:matching-substring> </xsl:matching-substring>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs" exclude-result-prefixes="xs"
xmlns="http://www.utc.fr/ics/hdoc/xhtml" 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:output method="xml" indent="yes"></xsl:output>
<xsl:template match="html"> <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