![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/04/2013, 10:59
|
| | Fecha de Ingreso: noviembre-2008
Mensajes: 67
Antigüedad: 16 años, 2 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 |