note 103945 deleted from domelement.setattribute by danbrown
| From: | danbrown@php.net | Date: | Fri, 13 May 2011 13:39:53 +0000 |
| Subject: | note 103945 deleted from domelement.setattribute by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179679@lists.php.net to get a copy of this message | ||
Note Submitter: NOOBLET at OMFG dot COM
----
This is a colon
:
This is not a colon
:
This will not be changed into an entity
:
$node->setAttribute('importantLiteral', ':');
attribute 'importantLiteral' becomes :
$node->setAttribute('importantLiteral', ':');
attribute 'importantLiteral' becomes :
**************** I'm doing it wrong. ***************
It would be nice if there were a note saying "hey, this will alter your data automatically
whether you want it to or not" or maybe rename it to something better,
"enTifYs_teh_datas_seTz_atriBz".
******** I'll go find a different way to do it now. ********