Buongiorno a tutti, ho un problema (ma dai?)
Avrei bisogno di inserire un attributo xmlns:xsi in un nodo xml attraverso la trasformazione xsl.
Il risultato dovrebbe essere pressappoco questo:
codice:
<channel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemaepg.xsd"></channel>
Ho provato a fare in questa maniera

codice:
<xsl:attribute name="xmlns:xsi">
http://www.w3.org/2001/XMLSchema-instance
</xsl:attribute>
Ma quando provo a processare mi restituisce l'errore "invalid attribute name [xmlns:xsi]" come faccio a gestirli?