aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/cdatasection/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/cdatasection/index.html')
-rw-r--r--files/ru/web/api/cdatasection/index.html75
1 files changed, 75 insertions, 0 deletions
diff --git a/files/ru/web/api/cdatasection/index.html b/files/ru/web/api/cdatasection/index.html
new file mode 100644
index 0000000000..e660a2c42a
--- /dev/null
+++ b/files/ru/web/api/cdatasection/index.html
@@ -0,0 +1,75 @@
+---
+title: CDATASection
+slug: Web/API/CDATASection
+translation_of: Web/API/CDATASection
+---
+<div>{{APIRef("DOM")}}</div>
+
+<p>Интерфейс <code><strong>CDATASection</strong></code> представляет собой раздел CDATA, который может быть использован внутри XML для добавления extended групп "незакавыченного" текста. Символы <code>&lt;</code> and <code>&amp;</code> не нуждаются в кавычках, как внутри раздела CDATA.</p>
+
+<p>В XML, раздел CDATA выглядит так:</p>
+
+<pre class="syntaxbox">&lt;![CDATA[ ... ]]&gt;
+</pre>
+
+<p>Например:</p>
+
+<pre class="brush:xml">&lt;foo&gt;Here is a CDATA section: &lt;![CDATA[ &lt; &gt; &amp; ]]&gt; with all kinds of unescaped text. &lt;/foo&gt;
+</pre>
+
+<p>Единственная последовательность (символов), не разрешенная внутри раздела CDATA -  это сами символы закрытия раздела CDATA:</p>
+
+<pre class="brush:xml">&lt;![CDATA[ ]]&gt; will cause an error ]]&gt;
+</pre>
+
+<p>Заметьте, что разделы CDATA не следует использовать внутри HTML; они работают только в  XML.</p>
+
+<p>{{InheritanceDiagram(600,120)}}</p>
+
+<h2 id="Свойства">Свойства</h2>
+
+<p><em>Этот интерфейс не имеет специфических свойств и наследует родительские свойства {{domxref("Text")}}.</em></p>
+
+<h2 id="Методы">Методы</h2>
+
+<p><em>This interface has no specific methods and наследует родительские методы {{domxref("Text")}}.</em></p>
+
+<h2 id="Спецификации">Спецификации</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th>Specification</th>
+ <th>Status</th>
+ <th>Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('DOM WHATWG', '#interface-cdatasection', 'CDATASection')}}</td>
+ <td>{{Spec2('DOM WHATWG')}}</td>
+ <td>Re-added in <a href="https://github.com/whatwg/dom/pull/295">issue #295</a></td>
+ </tr>
+ <tr>
+ <td>{{SpecName('DOM3 Core', 'core.html#ID-667469212', 'CDATASection')}}</td>
+ <td>{{Spec2('DOM3 Core')}}</td>
+ <td>No change from {{SpecName('DOM2 Core')}}</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('DOM2 Core', 'core.html#ID-667469212', 'CDATASection')}}</td>
+ <td>{{Spec2('DOM2 Core')}}</td>
+ <td>No change from {{SpecName('DOM1')}}.</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('DOM1', 'level-one-core.html#ID-667469212', 'CDATASection')}}</td>
+ <td>{{Spec2('DOM1')}}</td>
+ <td>Initial definition</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2>
+
+
+
+<p>{{Compat("api.CDATASection")}}</p>