Files
php-doc-ru/reference/dom/domxpath.xml
2024-12-15 23:52:48 +03:00

129 lines
4.0 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 8aa5f18461de969e5131fbed3a95c365420e571a Maintainer: aur Status: ready -->
<!-- Reviewed: no -->
<reference xml:id="class.domxpath" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Класс DOMXPath</title>
<titleabbrev>DOMXPath</titleabbrev>
<partintro>
<!-- {{{ DOMXPath intro -->
<section xml:id="domxpath.intro">
&reftitle.intro;
<simpara>
Позволяет использовать запросы XPath 1.0 в HTML- или XML-документах.
</simpara>
</section>
<!-- }}} -->
<section xml:id="domxpath.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooclass>
<classname>DOMXPath</classname>
</ooclass>
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<modifier>readonly</modifier>
<type>DOMDocument</type>
<varname linkend="domxpath.props.document">document</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>bool</type>
<varname linkend="domxpath.props.registernodenamespaces">registerNodeNamespaces</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domxpath')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='DOMXPath'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.domxpath')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DOMXPath'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ DOMXPath properties -->
<section xml:id="domxpath.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="domxpath.props.document">
<term><varname>document</varname></term>
<listitem>
<simpara>Документ, связанный с объектом.</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="domxpath.props.registernodenamespaces">
<term><varname>registerNodeNamespaces</varname></term>
<listitem>
<simpara>Если установлено значение &true;, пространства имён регистрируются в узле.</simpara>
</listitem>
</varlistentry>
</variablelist>
</section>
<!-- }}} -->
<section role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Теперь невозможно клонировать объект <classname>DOMXPath</classname>.
Это приведёт к выбрасыванию исключения.
До версии PHP 8.4.0 это приводило к появлению непригодного для использования объекта.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Добавлено свойство <varname>registerNodeNamespaces</varname>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>
&reference.dom.entities.domxpath;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->