Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/04/2011, 14:30
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Distinct con Dom y Xpath

Que tal orlandopc09,

podrías utilizar preceding-sibling para conseguirlo, algo así:

Código PHP:
Ver original
  1. $query = "row[not(@country=preceding-sibling::row/@country)]/@country";

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)