[Resolu] [XSLT] probleme pour déclarer css et autre xmlns
Bonjour,
Impossible de créer un attricut xmlns et de déclarer une css.
Voici ce que j'aimerais avoir en sortie :
Code:
1 2 3 4 5 6 7
|
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<window title="mon titre"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
</window> |
Voici mon fichier XSL pour le moment :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmp="http://www.filemaker.com/fmpdsoresult"
exclude-result-prefixes="fmp">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="fmp:FMPDSORESULT">
<xsl:text><?xml-stylesheet href="chrome://global/skin" type="text/css"?></xsl:text>
<window>
<xsl:attribute name="title">
<xsl:value-of select="//fmp:A_ID_NomTache"/>
</xsl:attribute>
<xsl:attribute name="xmlns:html">
<xsl:text>http://www.w3.org/1999/xhtml</xsl:text>
</xsl:attribute>
<xsl:attribute name="xmlns">
<xsl:text>http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</xsl:text>
</xsl:attribute>
</window>
</xsl:template>
</xsl:stylesheet> |
et comme dans le fichier résultant, je n'ai ni l'attribut xmlns ni la ligne de déclaration de la css.
D'ou cela vient-il ?
Merci de votre aide