Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/03/2009, 16:49
AnitaRu
 
Fecha de Ingreso: marzo-2009
Mensajes: 4
Antigüedad: 16 años, 1 mes
Puntos: 1
Agrupar Elementos XML

Mi problema viene otra vez de Access y su exportación.

Al exportar una consulta los registros aparecen así:

<IMPRESION>
<SERIE>ARMARIOS PV</SERIE>
<GRUPO>ACCESORIOS</GRUPO>
<ARTICULO>SC33</ARTICULO>
<PVP>6</PVP>
</IMPRESION>
<IMPRESION>
<SERIE>ARMARIOS PV</SERIE>
<GRUPO>ACCESORIOS</GRUPO>
<ARTICULO>PV-PT60</ARTICULO>
<PVP>5</PVP>
</IMPRESION>

Me gustaría que fuera así para que al importarlo en Indesign me reconozca la estructura.

IMPRESION>
<SERIE>ARMARIOS PV
<GRUPO>ACCESORIOS
<ARTICULO>SC33</ARTICULO>
<PVP>6</PVP>
<ARTICULO>PV-PT60</ARTICULO>
<PVP>5</PVP>
</GRUPO>
</SERIE>
</IMPRESION>

Sabría alguién decirme si hay algún metodo rápido para que se vayan agrupando elementos repetidos?

Muchas Gracias!!