Probleme d'affichage fichier xml et xsl sous IE11
Bonjour
je ne sais pas si c'est dans cette bonne section pour mon problème.
J'ai 2 scripts un en xml et l'autre en xsl, le 1er fait appel au second pour afficher des résultats sous IE8 j'avais pas de soucis d'affichage j'avais des couleurs partout et bien aligné comme ci-dessous :
Palier : xxxxxxxxxxxxx
Version Accueil : G07R00C13
Profil installation : xxxxxxServer
Début de l'installation 29/01/2016 14:41:48
Nom de la machine WIN-F85HAECAR
Fin de l'installation 29/01/2016 14:58:27
Nouveau nom de la machine WIN-F85HAECAR
Actions effectuées
Commande(s) exécutée(s) avec succès 10
Configuration(s) exécuté(s) avec succès 1
Echec(s) sur l'exécution d'une commande ou d'une configuration 0
Commande(s) non exécutée(s) car composant(s) déjà installé(s) 0
Avertissement (la configuration demandée était déjà appliquée) 0
Espace disponible sur le disque système à la fin de l'installation : 26177 Mo
14:42:13 Prépare l'installation de l'accueil C:\Platon\Accueil\Module\install.cmd Exécutée
14:42:13 Définition du nom de la machine C:\Platon\Accueil\Module\SetName.exe C:\Platon\Accueil\Accueil_InstParam.ini SetName.log Exécutée
14:42:14 Demande d'affectation du nom "PLAPI026.nanterre.francetelecom.fr" à la machine. Affectation du nom NetBIOS "PLAPI026" à la machine avec succès - Affectation du nom de domaine DNS "nanterre.francetelecom.fr" à la machine avec succès Succès
14:42:14 Plan de Nommage C:\Platon\Accueil\Module\PlanDeNom.exe C:\Platon\Accueil\Module\PN.ini Exécutée
14:42:14 McAfee VirusScan Enterprise v8.8.0 patch 6 C:\Platon\Accueil\McAfee\VSE880LMLRP6\Install.cmd Exécutée
14:47:14 Installer Internet Explorer 11 C:\Platon\Accueil\IE11\Install_IE11.cmd Exécutée
14:55:37 Configuration des interfaces IP C:\Platon\Accueil\Module\SetIPConfig.exe C:\Platon\Accueil\Accueil_InstParam.ini Exécutée
14:55:40 Agent EPO 5.0.2 FRANCE (Default Installation) C:\Platon\Accueil\McAfee\Agent_EPO_France\install.cmd Exécutée
14:58:12 Autorisation de la connexion à distance à cette machine C:\Platon\Accueil\RDP\Install.cmd Exécutée
14:58:13 Stratégie de sécurité (Platon) C:\Platon\Accueil\StraSecu\StratSecu.cmd C:\Platon\Accueil\Accueil_InstParam.ini Exécutée
14:58:26 Fin d'installation C:\Platon\Accueil\Module\FinInstallation.cmd Exécutée
Mais depuis que je suis passé sous ie11 voici l'affichage que j'ai :
Installation Accueil Platon WIN-F85HAECAR 29/01/2016 14:41:48 xxxxxxxxxx G07R00C13 xxxxxxServer Heure Espace libre Action / Installation Commande et argument(s) Verdict Prépare l'installation de l'accueil 14:42:13 26799 C:\Platon\Accueil\Module\install.cmd Launched Exécutée Définition du nom de la machine 14:42:13 26799 C:\Platon\Accueil\Module\SetName.exe C:\Platon\Accueil\Accueil_InstParam.ini SetName.log Launched Exécutée Demande d'affectation du nom "PLAPI026.nanterre.francetelecom.fr" à la machine. 14:42:14 26799 Affectation du nom NetBIOS "PLAPI026" à la machine avec succès - Affectation du nom de domaine DNS "nanterre.francetelecom.fr" à la machine avec succès Success Succès Plan de Nommage 14:42:14 26799 C:\Platon\Accueil\Module\PlanDeNom.exe C:\Platon\Accueil\Module\PN.ini Launched Exécutée McAfee VirusScan Enterprise v8.8.0 patch 6 14:42:14 26799 C:\Platon\Accueil\McAfee\VSE880LMLRP6\Install.cmd Launched Exécutée Installer Internet Explorer 11 14:47:14 26596 C:\Platon\Accueil\IE11\Install_IE11.cmd Launched Exécutée Configuration des interfaces IP 14:55:37 26208 C:\Platon\Accueil\Module\SetIPConfig.exe C:\Platon\Accueil\Accueil_InstParam.ini Launched Exécutée Agent EPO 5.0.2 FRANCE (Default Installation) 14:55:40 26209 C:\Platon\Accueil\McAfee\Agent_EPO_France\install.cmd Launched Exécutée Autorisation de la connexion à distance à cette machine 14:58:12 26183 C:\Platon\Accueil\RDP\Install.cmd Launched Exécutée Stratégie de sécurité (Platon) 14:58:13 26183 C:\Platon\Accueil\StraSecu\StratSecu.cmd C:\Platon\Accueil\Accueil_InstParam.ini Launched Exécutée Fin d'installation 14:58:26 26177 C:\Platon\Accueil\Module\FinInstallation.cmd Launched Exécutée WINFT-F85HAECAR 10 1 0 0 0 0 26177 29/01/2016 14:58:27
Voici mes 2 scripts :
XML :
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
| <?xml version="1.0" encoding="windows-1252" ?>
<?xml-stylesheet type="text/xsl" href="Report-fr.xsl"?>
<Project>
<Head>
<Title>Installation Accueil Platon</Title>
<Name>WIN-F85HAECAR</Name>
<Date>29/01/2016</Date>
<Time>14:41:48</Time>
<LabelProjet>xxxxxxxxx</LabelProjet>
<VersionPlaton>G7R0</VersionPlaton>
<VersionAccueil>G07R00C13</VersionAccueil>
<VersionPLI></VersionPLI>
<ProfilInstall>xxxxxxServer</ProfilInstall>
</Head>
<Field>
<Time>Heure</Time>
<FreeSpace>Espace libre</FreeSpace>
<Name>Action / Installation</Name>
<Command>Commande et argument(s)</Command>
<Verdict>Verdict</Verdict>
</Field>
<Info>
<Name>Prépare l'installation de l'accueil</Name>
<Time>14:42:13</Time>
<FreeSpace>26799</FreeSpace>
<Command>C:\Platon\Accueil\Module\install.cmd </Command>
<Verdict>Launched</Verdict>
<VerdictMsg>Exécutée</VerdictMsg>
</Info>
</Project> |
le 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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
| <?xml version="1.0" encoding="windows-1252" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<!-- Debut de listing -->
<xsl:for-each select="//Project">
<!-- Identification du listing -->
<xsl:for-each select="Head">
<table border="1" cellpadding="0" cellspacing="0" width="60%">
<tr>
<td colspan="5" bgcolor="#FF8000"><b><font size="3">Palier :</font></b></td>
<td colspan="5" bgcolor="#FF8000"><b><font size="3"><xsl:value-of select="LabelProjet"/> <xsl:value-of select="VersionPlaton"/></font></b></td>
</tr>
<tr>
<td colspan="5" bgcolor="#FF8000"><b><font size="3">Version Accueil :</font></b></td>
<td colspan="5" bgcolor="#FF8000"><b><font size="3"><xsl:value-of select="VersionAccueil"/></font></b></td>
</tr>
<xsl:if test="VersionPLI[.!='']"><tr>
<td colspan="5" bgcolor="#FF8000"><b><font size="3">Version PLI :</font></b></td>
<td colspan="5" bgcolor="#FF8000"><b><font size="3"><xsl:value-of select="VersionPLI"/></font></b></td>
</tr></xsl:if>
<tr>
<td colspan="5" bgcolor="#FF8000"><b><font size="3">Profil installation :</font></b></td>
<td colspan="5" bgcolor="#FF8000"><b><font size="3"><xsl:value-of select="ProfilInstall"/></font></b></td>
</tr>
</table>
<table><td/></table>
<table><td/></table>
<table><td/></table>
<table><td/></table>
<table border="0" cellpadding="0" cellspacing="0" width="60%">
<tr>
<td colspan="5" bgcolor="#009599"><b><font size="2">Début de l'installation</font></b></td>
<td width="30%" colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="Date"/> <xsl:value-of select="Time"/></font></b></td>
</tr>
<tr>
<td colspan="5"><b><font size="2">Nom de la machine</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Name"/></font></b></td>
</tr>
</table>
</xsl:for-each>
<!-- Indication de fin d'installation -->
<xsl:for-each select="End">
<table><td/></table>
<table border="0" cellpadding="0" cellspacing="0" width="60%">
<tr>
<td colspan="5" bgcolor="#009599"><b><font size="2">Fin de l'installation</font></b></td>
<td width="30%" colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="Date"/> <xsl:value-of select="Time"/></font></b></td>
</tr>
<tr>
<xsl:if test="Name[.!='']">
<td colspan="5"><b><font size="2">Nouveau nom de la machine</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Name"/></font></b></td>
</xsl:if>
</tr>
</table>
<table><td/></table>
<table><td/></table>
<table border="0" cellpadding="0" cellspacing="0" width="60%">
<tr>
<td colspan="5" bgcolor="#009599"><b><font size="2">Actions effectuées</font></b></td>
<td width="30%" colspan="5" bgcolor="#009599"></td>
</tr>
<tr>
<td colspan="5"><b><font size="2">Commande(s) exécutée(s) avec succès</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Launched"/></font></b></td>
</tr>
<tr>
<td colspan="5"><b><font size="2">Configuration(s) exécuté(s) avec succès</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Success"/></font></b></td>
</tr>
<tr>
<xsl:if test="Failed[.='0']">
<td colspan="5"><b><font size="2">Echec(s) sur l'exécution d'une commande ou d'une configuration</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Failed"/></font></b></td>
</xsl:if>
<xsl:if test="Failed[.!='0']">
<td colspan="5"><b><font size="2" color="#CC0000">Echec(s) sur l'exécution d'une commande ou d'une configuration</font></b></td>
<td width="30%" colspan="5"><b><font size="2" color="#CC0000"><xsl:value-of select="Failed"/></font></b></td>
</xsl:if>
</tr>
<tr>
<xsl:if test="Existing[.='0']">
<td colspan="5"><b><font size="2">Commande(s) non exécutée(s) car composant(s) déjà installé(s)</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Existing"/></font></b></td>
</xsl:if>
<xsl:if test="Existing[.!='0']">
<td colspan="5"><b><font size="2" color="#FFAA00">Commande(s) non exécutée(s) car composant(s) déjà installé(s)</font></b></td>
<td width="30%" colspan="5"><b><font size="2" color="#FFAA00"><xsl:value-of select="Existing"/></font></b></td>
</xsl:if>
</tr>
<tr>
<xsl:if test="Warning[.='0']">
<td colspan="5"><b><font size="2">Avertissement (la configuration demandée était déjà appliquée)</font></b></td>
<td width="30%" colspan="5"><b><font size="2"><xsl:value-of select="Warning"/></font></b></td>
</xsl:if>
<xsl:if test="Warning[.!='0']">
<td colspan="5"><b><font size="2" color="#FFAA00">Avertissement (la configuration demandée était déjà appliquée)</font></b></td>
<td width="30%" colspan="5"><b><font size="2" color="#FFAA00"><xsl:value-of select="Warning"/></font></b></td>
</xsl:if>
</tr>
</table>
<table><td/></table>
<table><td/></table>
<table border="0" cellpadding="0" cellspacing="0" width="60%">
<tr>
<td width="07%" colspan="5" bgcolor="#009599"><b><font size="2">Espace disponible sur le disque système à la fin de l'installation : <xsl:value-of select="FreeSpace"/> Mo</font></b></td>
</tr>
</table>
</xsl:for-each>
<!-- Nom des Champs pour detail installation -->
<xsl:for-each select="Field">
<table><td/></table>
<table><td/></table>
<table><td/></table>
<table><td/></table>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="07%" colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="Time"/></font></b></td>
<td colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="Name"/></font></b></td>
<!-- <td width="07%" colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="FreeSpace"/></font></b></td> -->
<td width="57%" colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="Command"/></font></b></td>
<td width="07%" colspan="5" bgcolor="#009599"><b><font size="2"><xsl:value-of select="Verdict"/></font></b></td>
</tr>
</table>
</xsl:for-each>
<!-- Informations sur le fichiers -->
<xsl:for-each select="Info">
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="07%" colspan="5" bgcolor="#FFFFFF"><font size="1" face="Comic Sans MS"><xsl:value-of select="Time"/></font>
</td>
<xsl:if test="Verdict[.!='']">
<td colspan="5" bgcolor="#FFFFFF"><font size="1" face="Comic Sans MS"><xsl:value-of select="Name"/></font></td>
</xsl:if>
<xsl:if test="Verdict[.='']">
<td colspan="5" bgcolor="#DDDDDD"><font size="1" face="Comic Sans MS"><xsl:value-of select="Name"/></font></td>
</xsl:if>
<!-- <td width="07%" colspan="5" bgcolor="#FFFFFF">
<b><font size="1" face="Comic Sans MS"><xsl:value-of select="FreeSpace"/></font></b>
</td> -->
<xsl:if test="Command[.!='']">
<td width="57%" bgcolor="#FFFFFF"><font size="1" face="Comic Sans MS"><xsl:value-of select="Command"/></font></td>
</xsl:if>
<xsl:if test="Verdict[.='Success']">
<td width="07%" bgcolor="#00FF00"><b><font size="2"><xsl:value-of select="VerdictMsg"/></font></b></td>
</xsl:if>
<xsl:if test="Verdict[.='Launched']">
<td width="07%" bgcolor="#00FF00"><b><font size="2"><xsl:value-of select="VerdictMsg"/></font></b></td>
</xsl:if>
<xsl:if test="Verdict[.='Failed']">
<td width="07%" bgcolor="#CC0000"><b><font size="2"><xsl:value-of select="VerdictMsg"/></font></b></td>
</xsl:if>
<xsl:if test="Verdict[.='Warning']">
<td width="07%" bgcolor="#FFFF00"><b><font size="2"><xsl:value-of select="VerdictMsg"/></font></b></td>
</xsl:if>
<xsl:if test="Verdict[.='NotFound']">
<td width="07%" bgcolor="#CC0000"><b><font size="2"><xsl:value-of select="VerdictMsg"/></font></b></td>
</xsl:if>
<xsl:if test="Verdict[.='Existing']">
<td width="07%" bgcolor="#FFFF00"><b><font size="2"><xsl:value-of select="VerdictMsg"/></font></b></td>
</xsl:if>
</tr>
</table>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet> |
Je sais qu'il y a des problemes avec IE11 et javascript qui sont bloqués mais je voudrais que cela s'affiche comme avant, il y at-il une solution ?
Merci