note 48195 added to ref.simplexml
| From: | adam dot prall at thinkingman dot com | Date: | Wed, 15 Dec 2004 04:18:12 +0000 |
| Subject: | note 48195 added to ref.simplexml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81807@lists.php.net to get a copy of this message | ||
The problem with anything based on SimpleXML is this:
SimpleXML assumes, like actually quite a few XML parsers (e.g. many of those I've written, as
well as some also written pre-1996 which are still (YES!) in use) that the *ordering* of elements is
actually not that important. Otherwise, and I'm making an assumption here, the PHP coding team
(which I don't dare even touch anything as tough as "C") would have coded
interspersed text and XML tags correctly as unlabeled tags with no attributes other than
"charset='utf8'" and one value, the text.
OK, a lot of assumptions. But anyway, I've been using an extension like this in my sites for
awhile. And when I finally getting around to sharing it, I want to talk to some people who are
willing to swap some (valuable) code.
Mahalos,
Adam Prall
Thinkingman.com Hawaii
----
Manual Page -- http://www.php.net/manual/en/ref.simplexml.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48195
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48195&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48195&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48195&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48195&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48195&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48195&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48195&report=yes
Search -- http://master.php.net/manage/user-notes.php