Easy question about XML parsing

From: Date: Fri, 22 Apr 2005 12:57:24 +0000
Subject: Easy question about XML parsing
Groups: php.general 
Request: Send a blank email to php-general+get-213642@lists.php.net to get a copy of this message
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

« previous php.general (#213642) next »