[DTD] J'ai un problème avec include dans Firefox
Bonjour,
J'ai un petit montage xml qui ne s'affiche pas dans Firefox mais qui s'affiche dans IE 8. L'inverse ne m'aurait pas gêné mais là ça m'ennuie assez..
Peut-être pouvez-vous me dire ce qui ne va pas ?
Voici le code :
Code:
1 2 3 4 5 6 7 8 9
|
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="en.xsl"?>
<!DOCTYPE TESTS [
<!ENTITY gerva SYSTEM "diazez.xml">
]>
<text>
&gerva;
</text> |
Voici l'important de mon fichier diazez.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
<?xml version="1.0" encoding="UTF-8"?>
<body>
<!-- New Entry -->
<entry key="1">
[bla bla]
</entry>
<!-- New Entry -->
<entry key="2">
[bla bla]
</entry>
[etc..]
</body> |
Voici le début du fichier en.xsl
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output
method="html"
encoding="UTF-8"
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/html4/strict.dtd"
indent="yes" />
<!-- template -->
<xsl:template match="body">
<html><head><link rel="stylesheet" href="gerva.css" type="text/css" /></head>
<body>
<xsl:for-each select="entry">
<xsl:sort select="trans[@lang='en']/tr" order="ascending"/>
<p padding="5px">
<!-- <b><xsl:value-of select="concat(@key,' - ')"/></b> -->
<xsl:apply-templates select="trans[@lang='en']" /> ♦ <xsl:apply-templates select="trans[@lang='br']" />
<xsl:apply-templates select="usg"/> <xsl:apply-templates select="def"/> <xsl:apply-templates select="note"/> <xsl:apply-templates select="eg"/>
</p>
<!--
<xsl:apply-templates /> -->
</xsl:for-each>
</body>
</html>
</xsl:template>
[etc..] |