Files
php-doc-ru/reference/dom/examples.xml
Mikhail Alferov 1bf0c7d802 Обновление перевода (#698)
Co-authored-by: Sergey Panteleev <sergey@php.net>
2024-01-14 14:06:40 +03:00

85 lines
2.2 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: d8e77acef360d9e3264adcb23efeb3bb7c6fbf7e Maintainer: rjhdby Status: ready -->
<!-- Reviewed: no -->
<chapter xml:id="dom.examples">
&reftitle.examples;
<para>
Многим примерам из этого руководства нужен XML-файл. Будет работать
с файлом <filename>book.xml</filename> со следующим содержанием:
</para>
<para>
<example>
<title>book.xml</title>
<programlisting role="xml">
<![CDATA[
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
]>
<book id="listing">
<title>Мои списки</title>
<chapter id="books">
<title>Мои книги</title>
<para>
<informaltable>
<tgroup cols="4">
<thead>
<row>
<entry>Название</entry>
<entry>Автор</entry>
<entry>Язык</entry>
<entry>ISBN</entry>
</row>
</thead>
<tbody>
<row>
<entry>The Grapes of Wrath</entry>
<entry>John Steinbeck</entry>
<entry>en</entry>
<entry>0140186409</entry>
</row>
<row>
<entry>The Pearl</entry>
<entry>John Steinbeck</entry>
<entry>en</entry>
<entry>014017737X</entry>
</row>
<row>
<entry>Samarcande</entry>
<entry>Amine Maalouf</entry>
<entry>fr</entry>
<entry>2253051209</entry>
</row>
<!-- TODO: У меня ещё есть много недобавленных книг... -->
</tbody>
</tgroup>
</informaltable>
</para>
</chapter>
</book>
]]>
</programlisting>
</example>
</para>
</chapter>
<!-- 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
-->