ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-spanish
php-spanish
[PHP-ES] LEER UN XML MUY LARGO
by Berlington Barnett other posts by this author
Oct 14 2009 12:46PM messages near this date
Re: [PHP-ES] Imágenes y bases de datos | Re: [PHP-ES] LEER UN XML MUY LARGO
Hola a todos (as).

Resulta que estoy consumiendo un WS desde otra empresa que viene con mas de 30000 registros.

Resulta que con PHP me fue imposible leerlo, sin embargo utilizando una aplicaci�n desarro
llada en CLARION puedo leer todo el XML y guardarlo en una tabla de SQL SERVER 2005 tipo VAR
CHAR(MAX) y hasta ahi todo bien.

Resulta que ahora necesito leer con PHP semejante XML y no he podido. 

Estoy utilizando: 
<?
$xml= simplexml_load_string(utf8_decode(trim($reg[0])));
if (!$xml ){    
print 'MSG-20: Se detecto una respuesta invalida del INS '; die();
}
?> 
Tambi�n trat� tomando el XML y guard�ndolo en un archivo y tampoco lo pudo leer.

Si alguien desea ayudarme y necesita el archivo, con mucho gusto podr�a enviarlo.

Saludos :)


      
Thread:
Berlington Barnett
Gerardo Benitez

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved