public xpath ( string $query, array $options = [] ) | ||
$query | string | An XPath query. |
$options | array | Currently supported options are: - 'namespace_prefix': And XML namespace prefix to be used as the default. Used in conjunction with 'namespace_uri' - 'namespace_uri': The URI to be used as the default namespace URI. Used with 'namespace_prefix' |