xsl-list
[Top] [All Lists]

Re: [xsl] Rename Some Node and attribute

2006-10-16 09:02:46
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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>