[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: zap some node s and change attribute

Subject: Re: zap some node s and change attribute
From: Davide Antoni <davide.antoni@xxxxxxxxxxx>
Date: Tue, 17 Oct 2006 15:37:16 +0200
Re:  zap some node s and change attribute
I must chanhe idCup to IdCUP
change xmlns="http://services.standardcup.esel.it" to xmlns="http://regione.campania.it/schemas/cup"
zap blanc node


Davide Antoni ha scritto:
HI to all

i need an'help:
i have this input:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<RICHIESTA_INFORMAZIONI_ASSISTITO DataOra="200603072355" idCup="1" idOperatore="GABRIELE" xmlns="http://services.standardcup.esel.it">
<ASSISTITO>
<Citta/>
<CodFiscale>TRNCMN78S24F839Y</CodFiscale>
<CodPostale/>
<CodSanitario/>
<Cognome/>
<DataNascita/>
<Domicilio/>
<Email/>
<Indirizzo/>
<Nome/>
<Provincia/>
<Sesso></Sesso>
<Stato/>
<Telefono/>
<e-mail/>
<idImpegnativa/>
<Urgenza/>
</ASSISTITO>
</RICHIESTA_INFORMAZIONI_ASSISTITO>
</soapenv:Body>
</soapenv:Envelope>


and i need this output:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<soapenv:Body>
<RICHIESTA_INFORMAZIONI_ASSISTITO xmlns="http://regione.campania.it/schemas/cup" DataOra="200603072355" idCUP="1" idOperatore="GABRIELE">
<ASSISTITO>
<CodFiscale>TRNCMN78S24F839Y</CodFiscale>
</ASSISTITO>
</RICHIESTA_INFORMAZIONI_ASSISTITO>
</soapenv:Body>
</soapenv:Envelope>


It is possibile with voodoo xslt?
THANKS.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.