Bug #52136 [Opn->Asn]: ->children matches only nodetype=1 (no text node is matched)
Edit report at http://bugs.php.net/bug.php?id=52136&edit=1
ID: 52136
Updated by: felipe@php.net
Reported by: giorgio dot liscio at email dot it
Summary: ->children matches only nodetype=1 (no text node is
matched)
-Status: Open
+Status: Assigned
Type: Bug
Package: SimpleXML related
Operating System: all
PHP Version: 5.3.2
-Assigned To:
+Assigned To: rrichards
Previous Comments:
------------------------------------------------------------------------
[2010-06-22 04:49:49] giorgio dot liscio at email dot it
Description:
------------
if you have an xml like this:
<div id="test">
hey
<b>hey</b>
hey
<i>this</i>
is
<u>a</u>
test
</div>
only <b> <i> <u> children elements are matched in ->children
implementing ->childNodes as in HTMLDOM can be a good solution
in htmldom
.children matches only nodeType=1
.childNodes matches all
thank you
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52136&edit=1
Thread (4 messages)