|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Junior Member
Iscritto dal: Feb 2013
Messaggi: 1
|
[XQUERY] Problema query
Buongiorno a tutti
Ho un file xml del tipo: Codice HTML:
<Dip nome"D1"> <Impiegato nome="Andrea"> <st n=1> 100 </st> <st n=2> 80 </st> <st n=3> 120 </st> </Impiegato> <Impiegato nome="Luca"> <st n=1> 20 </st> <st n=2> 80 </st> <st n=3> 120 </st> </Impiegato> </Dip> <Dip nome"D2"> <Impiegato nome="Patrizia"> <st n=1> 200 </st> <st n=2> 80 </st> <st n=3> 120 </st> </Impiegato> <Impiegato nome="Claudio"> <st n=1> 20 </st> <st n=2> 80 </st> <st n=3> 90 </st> </Impiegato> </Dip> Quindi dall es sopre il risultato dovrebbe essere Codice HTML:
<Dip nome"D1"> <Impiegato nome="Andrea"> <st>220</st> </Impiegato> <Impiegato nome="Luca"> <st>120</120> </Dip> <Dip nome"D2"> <Impiegato nome="Patrizia"> <st>320</st> </Impiegato> </Dip> |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 11:30.



















