Bug #52136 [Asn->Opn]: ->children matches only nodetype=1 (no text node is matched)

From: Date: Tue, 24 Oct 2017 06:15:08 +0000
Subject: Bug #52136 [Asn->Opn]: ->children matches only nodetype=1 (no text node is matched)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211987@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=52136&edit=1 ID: 52136 Updated by: kalle@php.net Reported by: giorgio dot liscio at email dot it Summary: ->children matches only nodetype=1 (no text node is matched) -Status: Assigned +Status: Open Type: Bug Package: SimpleXML related Operating System: all PHP Version: 5.3.2 -Assigned To: rrichards +Assigned To: Block user comment: N Private report: N 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 https://bugs.php.net/bug.php?id=52136&edit=1

« previous php.bugs (#211987) next »