Re: SimpleXML: DOM, SAX or Other?

From: Date: Fri, 15 Oct 2004 12:52:13 +0000
Subject: Re: SimpleXML: DOM, SAX or Other?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199587@lists.php.net to get a copy of this message
Hi On 15 Oct 2004 11:51:33 -0000, PHPDiscuss - PHP Newsgroups and mailing lists <naroth_k@wmgmail.wmg.warwick.ac.uk> wrote: > Hi, > > Does anybody have any depthful knowledge of the SimpleXML extension in > PHP5?.. > > More accurately, do you know if the simpleXml->xpath() method uses DOM, > SAX or some other method of parsing a loaded XML document? > > I ask because I am trying to parse arbitrary XML documents as efficiently > as possible (avoiding DOM). Hi SimpleXML uses the same stuff as DOM in the backend. So you won't gain any efficency using SimpleXML chregu > > Kieran > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.general (#199587) next »