Re: Is really no one interested?
| From: | Petar Nedyalkov | Date: | Tue, 01 Nov 2005 07:21:01 +0000 |
| Subject: | Re: Is really no one interested? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19868@lists.php.net to get a copy of this message | ||
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 well
defined and you have a well-formed DTD. As Christian spotted - the DOM
functionallities could serve you well. The basic and simple API attracts so
much users, let's keep it this way.
--
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
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]