summaryrefslogtreecommitdiff
path: root/doc/faq.xsl
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2013-03-04 02:44:00 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2013-03-04 02:44:00 +0000
commitad8d3c589e632f0dc2d8605da702a8c40c10e497 (patch)
treee551e12996da0cbc3b747f6be9a0ce0bb2094f28 /doc/faq.xsl
parent5339c894825689a82a74475cb467590efed828fd (diff)
downloadmpfr-ad8d3c589e632f0dc2d8605da702a8c40c10e497.tar.gz
[doc] Slightly modified faq.xsl to avoid libxslt bug 377440, and
moved the addition of special CSS comments for XML compatibility from update-faq to faq.xsl file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8458 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc/faq.xsl')
-rw-r--r--doc/faq.xsl5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/faq.xsl b/doc/faq.xsl
index 370a6c2e1..2a258d951 100644
--- a/doc/faq.xsl
+++ b/doc/faq.xsl
@@ -13,7 +13,7 @@ the faq.html file on the MPFR web site. See the update-faq script.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:h="http://www.w3.org/1999/xhtml"
- exclude-result-prefixes="h">
+ xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method="xml"
encoding="iso-8859-1"
@@ -63,8 +63,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
<xsl:text>&#10;</xsl:text>
<xsl:copy-of select="h:title"/>
<xsl:text>&#10;</xsl:text>
- <h:style type="text/css"><xsl:text disable-output-escaping="yes">
-&styles;</xsl:text></h:style>
+ <style type="text/css"><xsl:text disable-output-escaping="yes">/*&lt;![CDATA[*/&#10;&styles;/*]]&gt;*/</xsl:text></style>
<xsl:text>&#10;</xsl:text>
</xsl:copy>
</xsl:template>