
24/01/2012, 15:59
|
| | Fecha de Ingreso: enero-2012
Mensajes: 5
Antigüedad: 13 años, 1 mes Puntos: 0 | |
Respuesta: xml,xpath consulta en postgres El problema esta en xmlns='http://www.topografix.com/GPX/1/1'
cuando esto no esta, funciona, si esta se tiene que poner:
select (xpath('/my:gpx/my:trk/my:trkseg/my:trkpt/my:ele/text()', gpx2.object_value, ARRAY[ARRAY['my','http://www.topografix.com/GPX/1/1']]))[1] from gpx2
Pero esta solucion no me sirve, ya que algunos .gpx lo traen y otros no o traen uno diferente. Seguire buscando solucion.Saludos |