Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19856 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19237 invoked by uid 1010); 31 Oct 2005 09:16:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19221 invoked from network); 31 Oct 2005 09:16:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Oct 2005 09:16:23 -0000 X-Host-Fingerprint: 66.249.82.198 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.198:12301] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id AC/23-02082-7E0E5634 for ; Mon, 31 Oct 2005 04:16:23 -0500 Received: by xproxy.gmail.com with SMTP id t12so906349wxc for ; Mon, 31 Oct 2005 01:16:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Xmgryz/lOGpNPpW8xItHc5BnYaQSc5RbPGSv246DX33VAvJGbx58yBX5HoC7SLCxVB/aqa89vUFCDbfm2E1+DdYFT9x+OzcHmT1wpzNgib8fPGUyypyHesNMyvq+CPJWRFUs6ikTVfXnxxrm5E9jaiePYpi/3pgCPlBFnTaL6Ro= Received: by 10.70.30.6 with SMTP id d6mr1560565wxd; Mon, 31 Oct 2005 01:16:21 -0800 (PST) Received: by 10.70.44.11 with HTTP; Mon, 31 Oct 2005 01:16:21 -0800 (PST) Message-ID: Date: Mon, 31 Oct 2005 11:16:21 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Is really no one interested? From: manchokapitancho@gmail.com (Marian Kostadinov) This is related to feature request 34839. [12 Oct 7:58pm CEST] stochnagara at hotmail dot com Description: ------------ The class SimpleXMLElement is wonderful and provides a great functionality. But I need to extend it and I don't have a way to determine whether a given SimpleXMLElement is an attribute, an element, a CDATA section and so on. So I suggest adding methods getName() and getType(). getName() returns element's name for elements, attribute's name for attributes and so on. getType() returns SimpleXMLElement::ELEMENT and so on. Maybe it is late for 5.1.0 but 5.1.1 is a good place for this to appear.