xsl-list
[Top] [All Lists]

Re: [xsl] Rename Some Node and attribute

2006-10-17 01:23:41
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(_dot_)mukul(_at_)gmail(_dot_)com> 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>




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--