Bonjour à tous !
J'ai un petit soucis pour faire un "distinct" sur une instruction XPath, voilà l'exemple du fichier XML :
<Consults>
<Id>TEST1</Id>
<Id>TEST3</Id>
<Id>TEST2</Id>
<Id>TEST1</Id>
<Id>TEST4</Id>
<Id>TEST3</Id>
</Consults>
Je cherche comment avoir la liste des différents Id avec une expression XPath du genre : /Consults[not(Id = preceding-sibling::Id]/Id mais je bloquesur l'expression exacte...
Si quelqu'un a une petite solution à proposer
Merci d'avance

 

 
		
		 
         
 

 
			
			





 XPath et DISTINCT
 XPath et DISTINCT
				
 Répondre avec citation
  Répondre avec citation

 
  
  
  
 
 
			 
  
 

 
  
			 
   
 
 
						 Envoyé par GrandFather
 Envoyé par GrandFather
					
				
Partager