Easy question about XML parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been going through a number of easy XML parsing examples on the web, and they all have one thing in common: the XML is in a file, which they read in 4K chunks and parse.

My application will be retrieving the XML from a web service, presumably like $xml = file_get_contents($url). I was assuming that I could parse the XML in memory using that $xml variable, but since NONE of the examples I've seen do this, I was wondering if it's a requirement that the XML be in a local file, and needing to do the 4K chunk thing.

- Brian

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux