📄 source10.xml
字号:
<XTutorial id="10" next="11" previous="9">
<description lang='eng'>Comments may appear anywhere in a document outside other markup. An XML processor may, but need not, make it possible for an application to retrieve the text of comments. The string "--" (double-hyphen) must not occur within comments. </description>
<description lang='chi'>注释可以出现在文档的任何地方, 但必须位于其它标记之外. 一个XML处理器或许应该(但并非必须)能够让应用程序有办法得到注释的内容. 此外, 双连字符 "--" 不应该出现在注释里. </description>
<demo type="wf">
<description lang='eng'>Comment can contain any characters apart from --</description>
<description lang='chi'>注释可以包含除了 -- 之外的任何字符</description>
<doc>
{!-- doc A --}
{example}
{!-- <HEAD> --}
{!-- Characters <&< --}
{/example}
</doc>
</demo>
<demo type="notwf">
<description lang='eng'>Comment must not contain --</description>
<description lang='chi'>注释不能包含 --</description>
<doc>
{example}
{!-- A <error>--</error> B --}
{/example}
</doc>
</demo>
</XTutorial>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -