Careful : getElementsByTagName will yield all elements with the given tag name under the present node, at any sub-level (i.e. among child nodes and all other descendant nodes)
![]() |
|
||||||||||
|
DOMDocument->getElementsByTagName()(no version information, might be only in CVS) DOMDocument->getElementsByTagName() -- Searches for all elements with given tag nameОписаниеclass DOMDocument {DOMNodeList getElementsByTagName ( string name ) } This function returns a new instance of class DOMNodeList containing the elements with a given tag name. DOMDocument->getElementsByTagName()
Francois Hill
30-Jul-2007 07:36
Careful : getElementsByTagName will yield all elements with the given tag name under the present node, at any sub-level (i.e. among child nodes and all other descendant nodes)
Finding values of a node
14-Mar-2007 03:01
I don't know if this is that obvious but it was not for me, so in addition to gem at rellim dot com's posting:
gem at rellim dot com
29-Sep-2004 04:20
Here is an example of getElementsByTagName(): |