Re: [PHP] Good XML Parser

[email protected] (Bojan Tesanovic)
Newsgroups php.general
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.