Re: getElementsByTagName returns subset if elements are arbitrarily nested

From: Date: Mon, 08 Dec 2003 17:11:27 +0000
Subject: Re: getElementsByTagName returns subset if elements are arbitrarily nested
References: 1  Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-265@lists.php.net to get a copy of this message
Was a bug and now fixed. Thanks! Rob From: Philip Fletcher > According to the w3c spec the method 'getElementsByTagName' "returns a > NodeList of all the Elements in document order with a given tag name and > arecontained in the document". > However, in practice, if there is some interesting (but legal) nesting > going on, then everything outside of the parent of the first match is > ignored.

« previous php.xml.dev (#265) next »