[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Rename Some Node and attribute


Subject: Re: [xsl] Rename Some Node and attribute
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Mon, 16 Oct 2006 21:38:52 +0530

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>


--
Regards,
Mukul Gandhi


Current Thread