note 103945 added to domelement.setattribute
| From: | NOOBLET at OMFG dot COM | Date: | Fri, 13 May 2011 06:03:49 +0000 |
| Subject: | note 103945 added to domelement.setattribute | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179670@lists.php.net to get a copy of this message | ||
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. ********
----
Server IP: 69.147.83.197
Probable Submitter: 71.238.34.185
----
Manual Page -- http://www.php.net/manual/en/domelement.setattribute.php
Edit -- https://master.php.net/note/edit/103945
Del: integrated -- https://master.php.net/note/delete/103945/integrated
Del: useless -- https://master.php.net/note/delete/103945/useless
Del: bad code -- https://master.php.net/note/delete/103945/bad+code
Del: spam -- https://master.php.net/note/delete/103945/spam
Del: non-english -- https://master.php.net/note/delete/103945/non-english
Del: in docs -- https://master.php.net/note/delete/103945/in+docs
Del: other reasons-- https://master.php.net/note/delete/103945
Reject -- https://master.php.net/note/reject/103945
Search -- https://master.php.net/manage/user-notes.php