Buenas noches, la verdad soy nueva en xml y debo generar unos reportes desde este archivo.
Estoy trabajando con php y el xml lo genere de una bd de informix 9 algo q no me permitia hacer limit, asi q buscando soluciones encontre mejor pasar los registros al xml y de ahi hacer los reportes. El archivo me ha quedado de este estilo
<movimientos>
<movimiento movmes="03" movcli="800141697 " clinom="ENRIQUE HENRIQUEZ B & CIA. LTDA " movzon="045" clidir="CALLE 47 NO.21B-129 " clitel="3795538 " clitel2="3706292 " cliven="BGQ " clicon="BGP " cligru="DIS" clisub="DRN" movdetcat="NAL " artdim="700-15 " sum-movdetcan="2047081.92" sum-movdetpruxmovdetcan="" sum-movdetpruxmovdetcan-movdetdes="" sum-movdetcanxmovdetcos=""/>
<movimiento movmes="05" movcli="800141697 " clinom="ENRIQUE HENRIQUEZ B & CIA. LTDA " movzon="045" clidir="CALLE 47 NO.21B-129 " clitel="3795538 " clitel2="3706292 " cliven="BGQ " clicon="BGP " cligru="DIS" clisub="DRN" movdetcat="SREE " artdim="900-20 " sum-movdetcan="2444661.12" sum-movdetpruxmovdetcan="" sum-movdetpruxmovdetcan-movdetdes="" sum-movdetcanxmovdetcos=""/>
<movimiento movmes="05" movcli="800141697 " clinom="ENRIQUE HENRIQUEZ B & CIA. LTDA " movzon="045" clidir="CALLE 47 NO.21B-129 " clitel="3795538 " clitel2="3706292 " cliven="BGQ " clicon="BGP " cligru="DIS" clisub="DRN" movdetcat="NAL " artdim="825-16 " sum-movdetcan="1112312.0" sum-movdetpruxmovdetcan="" sum-movdetpruxmovdetcan-movdetdes="" sum-movdetcanxmovdetcos=""/>
</movimientos>
A ellos los junte en un array y me ha quedado asi...
Array ( [temp_id] => Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 [7] => 7 [8] => 8 [9] => 9 [10] => 10 [11] => 11 [12] => 12 [13] => 13 [14] => 14 [15] => 15 [16] => 16 [17] => 17 [18] => 18 [19] => 19 ) [movmes] => Array ( [0] => 03 [1] => 05 [2] => 05 [3] => 04 [4] => 05 [5] => 06 [6] => 03 [7] => 05 [8] => 05 [9] => 06 [10] => 05 [11] => 03 [12] => 04 [13] => 05 [14] => 04 [15] => 06 [16] => 05 [17] => 06 [18] => 03 [19] => 05 ) [movcli] => Array ( [0] => 800141697 [1] => 800141697 [2] => 800141697 [3] => 800141697 [4] => 800141697 [5] => 800141697 [6] => 800141697 [7] => 800141697 [8] => 800141697 [9] => 800141697 [10] => 800141697 [11] => 800141697 [12] => 800141697 [13] => 800141697 [14] => 800141697 [15] => 800141697 [16] => 800141697 [17] => 800141697 [18] => 800141697 [19] => 800141697 ) [clinom] => Array ( [0] => ENRIQUE HENRIQUEZ B & CIA. LTDA [1] => ENRIQUE HENRIQUEZ B & CIA. LTDA [2] => ENRIQUE HENRIQUEZ B & CIA. LTDA [3] => ENRIQUE HENRIQUEZ B & CIA. LTDA [4] => ENRIQUE HENRIQUEZ B & CIA. LTDA [5] => ENRIQUE HENRIQUEZ B & CIA. LTDA [6] => ENRIQUE HENRIQUEZ B & CIA. LTDA [7] => ENRIQUE HENRIQUEZ B & CIA. LTDA [8] => ENRIQUE HENRIQUEZ B & CIA. LTDA [9] => ENRIQUE HENRIQUEZ B & CIA. LTDA [10] => ENRIQUE HENRIQUEZ B & CIA. LTDA [11] => ENRIQUE HENRIQUEZ B & CIA. LTDA [12] => ENRIQUE HENRIQUEZ B & CIA. LTDA [13] => ENRIQUE HENRIQUEZ B & CIA. LTDA [14] => ENRIQUE HENRIQUEZ B & CIA. LTDA [15] => ENRIQUE HENRIQUEZ B & CIA. LTDA [16] => ENRIQUE HENRIQUEZ B & CIA. LTDA [17] => ENRIQUE HENRIQUEZ B & CIA. LTDA [18] => ENRIQUE HENRIQUEZ B & CIA. LTDA [19] => ENRIQUE HENRIQUEZ B & CIA. LTDA ) [movzon] => Array ( [0] => 045 [1] => 045 [2] => 045 [3] => 045 [4] => 045 [5] => 045 [6] => 045 [7] => 045 [8] => 045 [9] => 045 [10] => 045 [11] => 045 [12] => 045 [13] => 045 [14] => 045 [15] => 045 [16] => 045 [17] => 045 [18] => 045 [19] => 045 ))
Ya con ello debo generar reportes... poder seleccionar de q cliente quiero informacion de q mes y asi...
Alguien sabe de q forma podria trabajarlo...
Agredezco de antemano toda la ayuda posible..
Gracias