Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/04/2013, 10:59
PATUX
 
Fecha de Ingreso: noviembre-2008
Mensajes: 67
Antigüedad: 15 años, 5 meses
Puntos: 1
Estructura XML

Estimados:

hacia rato que no trabajaba con XML y me surgio una duda...

tengo un tag que no se como crearlo con DomDocument, es el nombre del campo pero con el / al final del nombre. marcado en rojo.

<TOTAL_BULTOS>0</TOTAL_BULTOS>
<TOTAL_TOTES>0</TOTAL_TOTES>
<TOTAL_PALLETS>4</TOTAL_PALLETS>
<TOTAL_COLGADOS/>
<L_ENTREGA>136</L_ENTREGA>



yo creo asi

$NRO_PRUEBA = $mi_xml -> createElement( "NRO_PRUEBA", "1");
$XMLC -> appendChild($NRO_PRUEBA);

agradecere algun comentario al respecto.

saludos.

Patricio
__________________
No estoy LOCO, solo es que tengo una Realidad Distinta al de los demas :P