Re: Good XML Parser

From: Date: Mon, 12 May 2008 11:43:16 +0000
Subject: Re: Good XML Parser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274180@lists.php.net to get a copy of this message
Fot SImpler XMLs and not too large up to 1Mb I would use $X = simplexml_load_file($URL); simple xml is fairly fast and is very easy to use it accepts foreach loops, accessing attributes via array fashion etc On May 12, 2008, at 9:02 AM, Waynn Lue wrote:
What's the best way to pull down XML from a URL? fopen($URL), then using xml_parse? Or should I be using XML_Parser or SimpleXML? Thanks, Waynn --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Bojan Tesanovic http://www.carster.us/

« previous php.general (#274180) next »