Ciao, ho un problema particolare, io ho un file xslt, validato, che ha i tag <img> validi:

Codice PHP:
<?xmlversion "1.0"?>
<xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" xmlns:fo = "http://www.w3.org/1999/XSL/Format">
    <xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes"/>
    
        <xsl:template match="risultatiPartiteXml">
            <div id="spazio-risultati-sc-top">
                [img]img/titoloRisultati.gif[/img]
            </div>
            <div id="spazio-risultati">
                <div class="elemento-ripetibile-risultati">
                    <table width="223" border="0" cellspacing="0" cellpadding="0">
                        <xsl:apply-templates select="partita" />
                    </table>
                </div>
            </div>
            <div id="spazio-risultati-sc-down">
                [img]img/titoloRisultati-down.gif[/img]
            </div>
    
        </xsl:template>
    
        <xsl:template match="partita">
            <tr>
                <td width="196" class="titoloRisultati-categoria"><xsl:value-of select="tipo"></xsl:value-of> - <xsl:value-of select="data"></xsl:value-of></td>
                <td width="27"></td>
            </tr>
            <tr>
                <td colspan="2">[img]img/spacer.gif[/img]</td>
                </tr>
            <tr>
                <td class="titoloRisultati-squadre"><xsl:value-of select="squadra_casa"></xsl:value-of></td>
                <td class="titoloRisultati-squadre"><xsl:value-of select="set_casa"></xsl:value-of></td>
            </tr>
            <tr>
                <td class="titoloRisultati-squadre"><xsl:value-of select="squadra_ospite"></xsl:value-of></td>
                <td class="titoloRisultati-squadre"><xsl:value-of select="set_ospite"></xsl:value-of></td>
            </tr>
            <tr>
                <td colspan="2">[img]img/spacer.gif[/img]</td>
            </tr>
            <tr>
                <td colspan="2"><span class="titoloRisultati-punti"><xsl:value-of select="parziali"></xsl:value-of></span></td>
            </tr>
            <tr>
                <td colspan="2">[img]img/bgriga-ripetibile.gif[/img]</td>
            </tr>
        </xsl:template>
</xsl:stylesheet>
infatti, i tag img sono corretti e chiusi con />...
Il problema è quando io lancio il mio file, che è un jsp, e vado a vedere il codice html. cosa strana tutti i tag img perdono il carattere slash di chiusura:

[img]img/spacer.gif[/img]

Io poi questo file lo devo validare, ma come faccio se ogni volta mi toglie il carattere di chiusura?

Finisco con il dire che anche a fare <img></img> il tag </img> mi viene in automatico eliminato.