note 114864 added to class.domnode
| From: | pizarropablo at gmail dot com | Date: | Wed, 16 Apr 2014 14:36:09 +0000 |
| Subject: | note 114864 added to class.domnode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199282@lists.php.net to get a copy of this message | ||
In response to: alastair dot dallas at gmail dot com about "#text" nodes.
"#text" nodes appear when there are spaces or new lines between end tag and next initial
tag.
Eg
"<data><age>10</age>[SPACES]<other>20</other>[SPACES]</data>"
"data" childNodes has 4 childs:
- age = 10
- #text = spaces
- other = 20
- #text = spaces
----
Server IP: 72.52.91.14
Probable Submitter: 186.135.131.56
----
Manual Page -- http://php.net/manual/en/class.domnode.php
Edit -- https://master.php.net/note/edit/114864
Del: integrated -- https://master.php.net/note/delete/114864/integrated
Del: useless -- https://master.php.net/note/delete/114864/useless
Del: bad code -- https://master.php.net/note/delete/114864/bad+code
Del: spam -- https://master.php.net/note/delete/114864/spam
Del: non-english -- https://master.php.net/note/delete/114864/non-english
Del: in docs -- https://master.php.net/note/delete/114864/in+docs
Del: other reasons-- https://master.php.net/note/delete/114864
Reject -- https://master.php.net/note/reject/114864
Search -- https://master.php.net/manage/user-notes.php