update : 2015.11.03
php.shukuma.com검색:
|
DOMDocument::getElementsByTagNameNS(PHP 5, PHP 7) DOMDocument::getElementsByTagNameNS — Searches for all elements with given tag name in specified namespace 설명Returns a DOMNodeList of all elements with a given local name and a namespace URI. 인수
반환값A new DOMNodeList object containing all the matched elements. 예제
Example #1 Get all the XInclude elements
<?php 위 예제의 출력: local name: include, prefix: xi local name: fallback, prefix: xi |