Re: [xsl] Rename Some Node and attribute

Subject: Re: [xsl] Rename Some Node and attribute
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 16 Oct 2006 18:02:10 +0200
Joe Fawcett wrote:
But the OP wants to change the namespace as well doesn't he?

Joe


Ah, I missed that, you are right. Well, then it becomes (assuming the next question about the empty PRESTAZIONE element in the same namespace):


<xsl:element name="ELENCO_PRESTAZIONI " namespace="http://regione.campania.it/schemas/cup";>
<xsl:apply-templates />
<xsl:element name="PRESTAZIOE" namespace="http://regione.campania.it/schemas/cup"/>
</xsl:element>
</xsl:template>



But there are different ways to achieve this goal, of course.


Cheers,
--  Abel Braaksma

Current Thread