Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97861 invoked by uid 1010); 1 Nov 2005 07:21:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97845 invoked from network); 1 Nov 2005 07:21:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Nov 2005 07:21:13 -0000 X-Host-Fingerprint: 195.24.32.29 vmail-1.orbitel.bg Linux 2.4/2.6 Received: from ([195.24.32.29:59478] helo=vmail-1.orbitel.bg) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5B/F8-02082-76717634 for ; Tue, 01 Nov 2005 02:21:12 -0500 Received: from localhost (mailprotection [10.0.0.2]) by vmail-1.orbitel.bg (Postfix) with ESMTP id 5ED61ECBB for ; Tue, 1 Nov 2005 09:21:07 +0200 (EET) Received: from vmail-1.orbitel.bg ([10.0.0.1]) by localhost (sof-rv1.orbitel.bg [10.0.0.2]) (amavisd-new, port 10024) with ESMTP id 04140-34 for ; Tue, 1 Nov 2005 09:21:06 +0200 (EET) Received: from [192.168.1.10] (unknown [213.91.217.139]) by vmail-1.orbitel.bg (Postfix) with ESMTP id 2574CECC0 for ; Tue, 1 Nov 2005 09:21:06 +0200 (EET) Reply-To: bu@orbitel.bg To: internals@lists.php.net Date: Tue, 1 Nov 2005 09:21:01 +0200 User-Agent: KMail/1.8.2 References: <4365E1AA.4020602@bitflux.ch> In-Reply-To: X-Face: "c4tG*FY$8"*gUsm0B.S%v5*[!@-f4J`V@OaocG0\)x]-G`$Hy1#tWj~4VvL@6s X-Virus-Scanned: by amavisd-new at orbitel.bg Subject: Re: [PHP-DEV] Is really no one interested? From: bu@orbitel.bg (Petar Nedyalkov) --nextPart2090339.JpubaiDbpg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 31 October 2005 11:27, Marian Kostadinov wrote: > > SimpleXML is meant to be simple and the desicion was made to keep its > > API short. Use DOM if you want those more advanced features (there's > > dom_import_simplexml() and simplexml_import_dom() for easy and fast > > switching between those 2) > > > > chregu > > SimpleXML is simple and that is great. But such a CORE functionality > like getting a SimpleXML node own name and type is not available. > It's funny that one can access absolutely everything about a node > children, attributes and so on very easily and intuitively, but cannot > access node's own name:) I don't think it's a core feature since the tree hierarchy of the XML is we= ll=20 defined and you have a well-formed DTD. As Christian spotted - the DOM=20 functionallities could serve you well. The basic and simple API attracts so= =20 much users, let's keep it this way. =2D-=20 Cyberly yours, Petar Nedyalkov Devoted Orbitel Fan :-) PGP ID: 7AE45436 PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436 --nextPart2090339.JpubaiDbpg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQBDZxdgLT98C3rkVDYRAtH0AJ0fAc7LgRxxmRSiQMuW3KQg5dg6/QCghqJJ eilpsyoIYdpv0/vwxe4/HQQ= =2fBj -----END PGP SIGNATURE----- --nextPart2090339.JpubaiDbpg--