How does your current xslt looks like and what is the problem with it?
How is your current output different from the required output?
Lookup the thread with the caption "[xsl] Rename Some Node ans
attribute" (by Davide Antoni, date 16 oct 2006). It contains the answer
to the below question. In the replies are several options to deal with
this (like: changing the namespace, making new nodes, renaming existing
nodes/attributes to new ones etc).
-- Abel Braaksma
Davide Antoni wrote:
i have this input:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<cup:RISPOSTA_ELENCO_PRESTAZIONI
xmlns:cup="http://regione.campania.it/schemas/cup">
<cup:PRESTAZIONE>
<cup:CodMinisteriale>VISON</cup:CodMinisteriale>
<cup:CodInterno>2702</cup:CodInterno>
<cup:Denominazione>VISITA ONCOLOGICA</cup:Denominazione>
<cup:Branca>ONC</cup:Branca>
</cup:PRESTAZIONE>
</cup:RISPOSTA_ELENCO_PRESTAZIONI>
</env:Body>
</env:Envelope>
And i need this output:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<RISPOSTA_PRESTAZIONI_EROGABILI
xmlns="http://services.standardcup.esel.it">
<PRESTAZIONE>
<PreparazioneUtente>VISON</PreparazioneUtente>
<idPrestazione>2702</idPrestazione>
<Denominazione>VISITA ONCOLOGICA</Denominazione>
<AvvertenzeOperatore>ONC</AvvertenzeOperatore>
</PRESTAZIONE>
</RISPOSTA_PRESTAZIONI_EROGABILI>
</env:Body>
</env:Envelope>
Note: i have many of PRESTAZIONE.
Many Thanks To ALL.
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--