DOMText::splitText
DOMXPath::__construct
DOM
PHP Manual
The DOMXPath class
Введение
Supports XPath 1.0
Обзор классов
DOMXPath
{
/* Свойства */
public
DOMDocument
$document
;
/* Методы */
DOMXPath::__construct
(
DOMDocument
$doc
)
mixed
DOMXPath::evaluate
(
string
$expression
[,
DOMNode
$contextnode
[,
bool
$registerNodeNS
= true
]] )
DOMNodeList
DOMXPath::query
(
string
$expression
[,
DOMNode
$contextnode
[,
bool
$registerNodeNS
= true
]] )
bool
DOMXPath::registerNamespace
(
string
$prefix
,
string
$namespaceURI
)
public
void
DOMXPath::registerPhpFunctions
([
mixed
$restrict
] )
}
Свойства
document
Prop description
Содержание
DOMXPath::__construct
— Creates a new DOMXPath object
DOMXPath::evaluate
— Evaluates the given XPath expression and returns a typed result if possible.
DOMXPath::query
— Evaluates the given XPath expression
DOMXPath::registerNamespace
— Registers the namespace with the DOMXPath object
DOMXPath::registerPhpFunctions
— Register PHP functions as XPath functions
DOMText::splitText
DOMXPath::__construct
DOM
PHP Manual