Re: [Config] XML Parsing Serious Issues

From: Date: Fri, 19 Dec 2003 20:14:12 +0000
Subject: Re: [Config] XML Parsing Serious Issues
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9743@lists.php.net to get a copy of this message
On Dec 19, 2003, at 3:02 PM, Bertrand Mansion wrote:
AFAIK, there's no way to differentiate attributes from tags once they've been parsed.
That's been changed. Attributes are array elements and elements are object properties. For example: $s = simplexml_load_string('<root attribute="a"><element/></root>'); $s['attribute']; $s->element; -adam -- adam trachtenberg adam@trachtenberg.com

« previous php.pear.general (#9743) next »