Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/10/2014, 06:48
ratono
 
Fecha de Ingreso: diciembre-2011
Mensajes: 7
Antigüedad: 12 años, 5 meses
Puntos: 0
Respuesta: Interpretar XML desde PHP y poder sacar los datos...

Cita:
Iniciado por lauser Ver Mensaje
Quizás te ayude este hilo.
[URL="http://www.forosdelweb.com/f18/leer-xml-con-simple-xml-php-967754/"]http://www.forosdelweb.com/f18/leer-xml-con-simple-xml-php-967754/[/URL]
Lo he mirado, el problema es que está todo en un registro, y no está separado por tags..

O sea...,

En vez de contener algo así como..

<parametrox>contenido</parametrox>

Contiene algo como esto...

<MediaPurgeRule BaseDate.l="4"
CategoryID.l="42760"
ChangeStatus.b="false"
ChangeStatusFailed.b="false"
ChangeTo.l="-1"
DateOffset.l="1"
IncludeSubcategories.b="true"
MediaFormatsList.ll="20 1018 157 202 590 591"
PurgeAfterBroadCast.b="false"
PurgeFormats.b="true"
PurgeMediaInfo.b="false"
PurgeRemoteStorage.b="false"
RemoteStorageUnitList.ll=""
StatusList.ll="6127 6125 3001665 7760916 259658 2 6753877 249340 18792671 6128 1 6130 5329394 4 3001666 6760641 87763853 3434364">
<Name t="ws">699-CATEGORIA RPUEBA</Name>
</MediaPurgeRule> 199 1

No está delimitado por tags y en algunos cambia la nomenclatura..