Re: [xsl] Rename Some Node and attribute

Subject: Re: [xsl] Rename Some Node and attribute
From: Davide Antoni <davide.antoni@xxxxxxxxxxx>
Date: Tue, 17 Oct 2006 10:23:16 +0200
Thanks to all guys... the voodoo works!!!

Mukul Gandhi ha scritto:
Oops, I used the wrong namespace. The correct template is below..

On 10/16/06, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:

<xsl:template match="*[local-name() = 'RICHIESTA_PRESTAZIONI_EROGABILI']">
<ser:ELENCO_PRESTAZIONI xmlns:ser="http://regione.campania.it/schemas/cup";>
<xsl:copy-of select="@*[not(local-name() = 'idCup')]" />
<xsl:attribute name="idCUP"><xsl:value-of select="@idCup"/></xsl:attribute>
<ser:PRESTAZIONE />
<xsl:apply-templates />
</ser:ELENCO_PRESTAZIONI>
</xsl:template>

Current Thread