source13.xml

来自「XML tutorial」· XML 代码 · 共 25 行

XML
25
字号
<XTutorial id="13" next="1" previous="12">
<description lang='eng'>XML documents may, and should, begin with an XML declaration which specifies the version of XML being used. </description>
<!-- <description lang='cze'>XML dokumenty mohou a měly by začínat XML deklarací, která určuje, jaké verze XML bylo použito.</description> -->
<description></description>
<demo type="wf">
<description lang='eng'>XML version specification </description>
<!-- <description lang='cze'>Určení verze</description> -->
<doc>
{?xml version="1.0"?}
 {text}This document conforms to the XML 1.0 specification.{/text}
</doc>
</demo>

<demo type="wf">
<description lang='eng'>Encoding specification </description>
<!-- <description lang='cze'>Určení kódování</description> -->
<doc>
{?xml version="1.0" encoding="ISO-8859-2"?}
 {text}If encoding is not given UTF-8 is assumed{/text}
</doc>

</demo>

</XTutorial>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?